anybody having solution for this

akkinarula

New Member
Joined
Sep 2, 2011
Messages
27
Hi All,

I've written macros for each sheet in my workbook. I've initialize them on workbook open () function .

The problem is that each time i open the workbook all macros are run and this calculation of macros is displaying to me .

I want to display some msg like "PROCESSING PLEASE WAIT".Or something else but running of macros should not display.

Any Body having solution for this plz tell me.

thanks in advance.
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
Start your macrro's with

Code:
Application.ScreenUpdating = False

end end it with

Code:
Application.ScreenUpdating = True

to stay on the same sheet where you start the macro.
 
Upvote 0
Start your macrro's with

Code:
Application.ScreenUpdating = False

end end it with

Code:
Application.ScreenUpdating = True

to stay on the same sheet where you start the macro.



thanks it worked ,but if i want to display " Processing.Please wait "
then what should i do
 
Upvote 0
A userform would be my thrust. If there is enough going on that the user must stare at it for a bit (and we'd like them 'entertained' enough to keep their **** fingers from poking at stuff), maybe a pseudo progress bar.
 
Upvote 0
Add this code before the '..updating = False'

Code:
    MsgBox "De macro will start after you click 'OK'"

and this after '.. updating = True'

Code:
    MsgBox "De macro is ready"

By the way, do you use the same action for every sheet ?
 
Last edited:
Upvote 0
Add this code before the '..updating = False'

Code:
    MsgBox "De macro will start after you click 'OK'"

and this after '.. updating = True'

Code:
    MsgBox "De macro is ready"

By the way, do you use the same action for every sheet ?

No Each Sheet is doing different action

And by the way i've to write this msg box for each sheet & i've to click the msg box for each sheet that i dont want. iwant to display common msg box for all sheets.

any way thanks for ur suggetion.
 
Upvote 0
Code:
Dim dStatus As Boolean

With Application
    dStatus = .DisplayStatusBar
    .DisplayStatusBar = True
    .StatusBar = "Processing Please Wait"
End With

    Call theMacro
    
With Application
    .StatusBar = False
    .DisplayStatusBar = dStatus
End With
 
Upvote 0

Forum statistics

Threads
1,224,585
Messages
6,179,696
Members
452,938
Latest member
babeneker

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top