Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hiding Excel when running a function

Status
Not open for further replies.

rossmcl

Programmer
Apr 18, 2000
128
How do you stop it being visible on the screen when an Excel function is running?

At the moment, I have a function doing a lot of cell offsets and worksheet creates etc.

I want to stop all this being visible on the screen. (ie I dont want the cursor to move etc).

Is this possible?

thanks
rossmcl
 
Hi,

Best to post coding questions in the VBA Visual Basic for Applications (Microsoft)Forum
Code:
Sub YourSub()
  Application.ScreenUpdating = False

... you code here

  Application.ScreenUpdating = True
End Sub


Skip,
[sub]
[red]Be advised:[/red] [glasses]
Alcohol and Calculus do not mix!
If you drink, don't derive! [tongue][/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top