View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Norbert[_4_] Norbert[_4_] is offline
external usenet poster
 
Posts: 52
Default Code needed to populate a message box during a macro

Hi,

can someone please help me with some code which I'd like to insert into a macro of mine, which populates a message with text "Please check, if all data in the table is for the date in question!"
There should be a Yes and a No button available (if that is possible).
Yes, should make the macro to run again but the No should take the person to that
particular table in the macro, where the macro is busy at that moment in time.
In other words, the macro should change the view to the current worksheet on which it is busy at that particular moment in time.

I am using: Application.ScreenUpdating = False, to suppress the flickering of the screen and to speed up the process.

In my case it is sheet: 'downtime database'

I hope someone can do, what I can't!

Thanks a lot, in advance
Norbert