Hello all,
I am sorry for posting to something that may have been discussed but I could not find the answer through a search.
I have a small macro that I am running from excel that loads address data that is stored on my worksheet into microsoft mappoint.
The code works but the problem is that when the macro is done copying the information over, it stops which then causes mappoint to close, making me unable to look at the data that I just transferred over on the map.
This same macro however when run from a command button, does not close mappoint.
I can only assume that the behaviour of the macro is affected but it being a command button (user click) versus a straight coded macro that can be run from a keyboard shortcut.
Is there a way to put a pause, or a stop on my non-command button version so that it won't close mappoint right away? Obviously the point of the macro is to allow someone to manipulate the data after the fact in mappoint.
If you need any additional information, please let me know.
I am sorry for posting to something that may have been discussed but I could not find the answer through a search.
I have a small macro that I am running from excel that loads address data that is stored on my worksheet into microsoft mappoint.
The code works but the problem is that when the macro is done copying the information over, it stops which then causes mappoint to close, making me unable to look at the data that I just transferred over on the map.
This same macro however when run from a command button, does not close mappoint.
I can only assume that the behaviour of the macro is affected but it being a command button (user click) versus a straight coded macro that can be run from a keyboard shortcut.
Is there a way to put a pause, or a stop on my non-command button version so that it won't close mappoint right away? Obviously the point of the macro is to allow someone to manipulate the data after the fact in mappoint.
If you need any additional information, please let me know.