Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old November 4th, 2004, 05:53 AM
Authorized User
Join Date: May 2004
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Default Show Sheet after running macro


I have a macro that will delete the existing worksheets and then will add many worksheets and populate all of them.

The problem is whenever i open the worksheet, "adding and populating the data" is shown to the user.

Is there is any way to show the excel sheets after populating them

thanks in advance
Try Try Try Until You Succeed
Old November 5th, 2004, 07:44 AM
Authorized User
Join Date: Oct 2004
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to shattered Send a message via Yahoo to shattered

You could just turn of the screen updates..

    application.screenupdating = false

when updating is complete turn the updating back on to show the new pages

    application.screenupdating = true

or hide the app

    application.visible = False

and then show it again

    application.visible = True

Old November 5th, 2004, 08:18 AM
Authorized User
Join Date: May 2004
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts

Thanks shattered.

I have used application.screenupdating and that is working fine.


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to run Macro on entry to new sheet? Wazar Excel VBA 4 May 16th, 2007 08:35 AM
variable sheet for Macro stealthdevil Excel VBA 11 May 11th, 2007 02:30 PM
Probs while running macro anukagni Excel VBA 2 February 2nd, 2006 03:29 AM
stop macro from running on EVERY cell change!! forkliftpete Beginning VB 6 1 October 26th, 2005 07:36 AM
running macro/user form from other excel files kliu9 Excel VBA 2 April 7th, 2005 11:06 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.