Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
As the title says, I have a macro which, when run, is designed simply
to switch to a sheet of reference materials, pause till the user hits enter or some other input, then returns to the previous sheet. I originally tried using a MsgBox, but it blocks the information on the screen, so I am hoping there is some Other way to do this. Thanks, Russ |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Russ
You could try using application.sendkeys, add this code to a new module Sub ShowSheet() Sheets("sheet3").Activate 'Change to the name of the sheet you want to show End Sub Then in the sheet you want to show until the user presses enter (for this code it's sheet3) add the following code Private Sub Worksheet_SelectionChange(ByVal Target As Range) Application.SendKeys (ENTER) Sheets("sheet2").Activate End Sub this will change back to sheet2 when the user presses enter hope this helps you out S |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to return to the previous active sheet after hyperlink? | Excel Worksheet Functions | |||
transfer contents from a cell in previous sheet if the sheet is a | New Users to Excel | |||
Copying the repeated data of the previous sheet to the next sheet | Excel Discussion (Misc queries) | |||
Return to Previous Sheet | Excel Programming | |||
Hyperlink or Other Method To Return To Previous Location (Sheet) Possible? | New Users to Excel |