Opening Excel workbook containing macros (.xlsm) using ADO and getting macros to run -


i've been using ado process many excel .xls , .xlsx workbooks without problems. tried process .xlsm workbook load access database. workbook contains several macros run every time user opens desktop version of excel. macros update "yesterdays" data "todays" data. unfortunately when read workbook programmatically ado returning "yesterdays" data. means me macros not running when open workbook ado. suggestions. hope don't need rewrite code open instance of excel handle workbook.

ado accesses data saved in workbook. nothing vba (or other) code dynamically when workbook opened in excel available. excel macros can run when workbook open in application interface.

either process needs duplicate macro(s) doing in order update sheet data or, yes, indeed, need first open workbook in excel environment , execute macros, save changes workbook.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -