getting a multiple option message board

dj_dafad

New Member
Joined
Mar 24, 2002
Messages
6
how do I get a message board which has two options to click on? like "go to sheet 1" and "go to sheet 2" to come up in the middle of a macro and it does either if you click on either. again thank you to anyone who can help.
dj_dafad
This message was edited by dj_dafad on 2002-04-12 14:25
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
On 2002-04-12 14:24, dj_dafad wrote:
how do I get a message board which has two options to click on? like "go to sheet 1" and "go to sheet 2" to come up in the middle of a macro and it does either if you click on either. again thank you to anyone who can help.
dj_dafad

Amend this code to suit;<pre/>
'// Start Msgbox Goto
If vbYes = MsgBox("Select YES to Goto [Sheet1]" & vbCrLf _
& "Select NO to Goto [Sheet2]", vbYesNo) Then
Sheets("Sheet1").Select
Else
Sheets("Sheet2").Select
End If
'// End MsgBox Goto

'// The rest of your Code</pre>
This message was edited by dj_dafad on 2002-04-12 14:25
 
Upvote 0

Forum statistics

Threads
1,214,643
Messages
6,120,702
Members
448,980
Latest member
CarlosWin

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