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

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
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,213,506
Messages
6,114,024
Members
448,543
Latest member
MartinLarkin

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