I have not tried anything yet. This is not something that I recall ever having to do previously.
What I am currently trying to do:
Create a new Dataport in MS Navision to import data from a user selected workbook. However, the workbooks contain autoexec macros that open a form. Navision cannot do it's bit with the form(s) open. I therefore need to specify (from Navision code) not to run the macros. If I know how to do this in VBA then I should be able to translate to Navision.
Therefore open to any suggestions? I have had a brief look in Excel VBA help, but did not find anything.
We could learn a lot from crayons. Some are sharp, some are pretty and some are dull. Some have weird names and all are different colours but they all live in the same box.
It is not a case of what users can/ can't do. The file is being opened by other app, read then closed. However, macro causes file to open with modal form displayed and workbook hidden. This prevents reading of the file without manual intervention.
The app running the VBA is Microsoft Navision.
Geoff,
Thanks. I shall see if this can be applied by Navision.
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.