Your advice was taken and desired results has been achieved.
One question, how does one switch off Access prompts, when running a Access macro from within VB6 ?
e.g. If I run Macro from within Access, I get prompted to "File already exists, do you wish to overwrite ?".. and yes I do.
If I run the Macro from VB6, how can I pass a 'Yes' to the prompt (not that its being displayed), but the Macro copies data from a Access table to a Excel spreadsheet.
All works fine, but if I open the Excel spreadsheet, and the Macro is run from within VB6, the timestamp of the Excel file does not change i.e. it appears the macro is not working, or though a message for overwriting is not displayed, it is defaulting to a 'No' I do not wish to overwrite the original file. This is not what I want.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.