Macro

B

beto

I have a macro but when I play it, it starts with the calculations showing
different workbooks where the data is. What I want is to hide that process of
openning and closing workbooks.

I just want the user to click 'play macro' and that the macro gives the
results without going to each of the workbooks and that the users can only
see the workbook in which they are playing the macro.

Is there any function?
 
J

Jarek Kujawa

try add the following statement to the macro's code:

Application.ScreenUpdating = False

HIH
 
G

Gary''s Student

How about:
Sub qwerty()
Application.ScreenUpdating = False
'
'do your thing
'
Application.ScreenUpdating = True
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top