Okay thanks for your help but I'm still a bit confused.
oApp.Run "samedayInvoice.xls!Save_Invoice" is just an example what I am actually trying to run iso "samedayInvoice.xls!Reset_Invoice" which has two buttons, one on the Excel spreadsheet, and one on an Access form.
What I want is for when...
Hi, is it possible to somehow allow a vba variable to be available within another application.
What I am wanting to do is for a macro to realise that it was executed by another application and therfore run a different set of code.
What I was thinking to do was set a 'flag' variable and if it...
Hi, what I am trying to code is a loop in VBA which will go through a recordset and write each record onto a different line within excel. For example the first record will be written into cells B9, C9, D9, E9, then the next record goes to B10, C10, D10, E10 etc. However I get error 424 - object...
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.