Code Monkey home page Code Monkey logo

excelrefresh's People

Contributors

alapolloni avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

excelrefresh's Issues

Enable save on sharepoint/network folders

Changes in SharePoint mean that office files are by default opened read-only, therefore ExcelRefresh will fail to save. Adding a call to theWorkbook.LockServerFile(); did the trick for me.

Error codes

Would be great if you could include error codes from the excellent little app. I am using it in a batch file and trying to catch errors with %errorlevel% variable. Even if file is missing %errorlevel% is always set to 0 in the batch job.

Some errors that would be great to catch:

  • File is missing
  • File is locked for updates (opened in excel by other application)
  • ...

don't work as Task

Hello,

i have add the batchfile as Task on Windows 10 but wont work. When i start the bat manually this works.

Someone have same Problem?

Error refreshing external connection qry

Trying to refresh a file that's connecting to a SQL Server via odbc connection.
Raised the error :

C:\Users\etieti\Downloads>ExcelRefresh.exe -d -c -q -f "J:\QUALITA'!ISO 9001\05 MODULI!Intestazioni per moduli!Intestazioni Per Moduli-1.xls"
Filename: J:\QUALITA'!ISO 9001\05 MODULI!Intestazioni per moduli!Intestazioni Per Moduli-1.xls
Items Count: 0
Input File Full Path: J:\QUALITA'!ISO 9001\05 MODULI!Intestazioni per moduli!Intestazioni Per Moduli-1.xls
WorkSheets:
Foglio1
Foglio2
Foglio3
Connection refresh: Query da alnus

Eccezione non gestita: System.Runtime.InteropServices.COMException: Eccezione da HRESULT: 0x800A03EC
in System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
in Microsoft.Office.Interop.Excel.WorkbookConnection.get_OLEDBConnection()
in XLRefresh.Program.refreshConnection(Workbook theWorkbook)
in XLRefresh.Program.Main(String[] args)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.