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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Application.screenupdating with subs

Status
Not open for further replies.

vestax22

Programmer
Jun 18, 2003
139
CA
Hi, I created a small Excel VBA application. This program ios seperated in several subs. One of the subs opens another workbook. Another sub extracts data from this workbook and close it. It seems logical that if I place application.screenupdating = false before calling these two subs and returning it to true afterwords that the screen would not update while the file is opened.

Is there anything I should know? I tried setting applicaiton.screenupdating to false inside each sub as well but it still doesn't work. Does screenupdating = false work when working with subs?

Thx in advance
 
hi ves,

I'd suspect if ScreenUpdating is being turned on, that SOMEHWERE in your code, its being assigned True.

Use Edit/Find and select the option button Search Current Project.

Skip,
Skip@TheOfficeExperts.com
 
Hi skip, I already had this problem and you were right, I found screenupdating = true in my code but this time I did try searching it and found nothing.

Any suggestions?

Thx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top