alapolloni / excelrefresh Goto Github PK
View Code? Open in Web Editor NEWcommand line utility to refresh Excel documents and their external connections, query tables and pivot tables.
command line utility to refresh Excel documents and their external connections, query tables and pivot tables.
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.
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:
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?
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)
@alapolloni I'd like to use to refresh documents at work, but won't be considered for internal use until an open source license is specified. Many thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.