|
-
Dec 5th, 2007, 03:29 PM
#1
Thread Starter
Hyperactive Member
[RESOLVED] Hiding "working" macro
When the macro executes, is there a way to hide what the macro is doing so that the user does not see everything that happens in the background. Also, is there a way to open a workbook from a macro and pull information out of it without it being "open" for the user to see?
Any help is appreciated.
Thanks!
-
Dec 5th, 2007, 03:31 PM
#2
Re: Hiding "working" macro
try at the start of your code
vb Code:
application.sceenupdaing = false
set to true at end of code
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
-
Dec 5th, 2007, 03:35 PM
#3
Thread Starter
Hyperactive Member
Re: Hiding "working" macro
vb Code:
Application.ScreenUpdating = False
Thanks, it works perfectly!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|