Use and navigate through option button on w/sheet

  • Thread starter Thread starter TUNGANA KURMA RAJU
  • Start date Start date
T

TUNGANA KURMA RAJU

I would like to make a index w/sheet with option buttons to navigateto other
w/sheets , to open user forms and to run macros.for example;
option button1.--goto w/sheet 10
option button2.--goto w/sheet 6
option button3.-- open userform1
option button4.-- run macro1
Is it possible ?
If so how to put optionbuttons on w/sheet and assign functions to them?
Thannks to all mvps and excel experts in advance.
 
I wouldn't use OptionButtons. I'd just use plain old buttons from the Forms
toolbar.

I'd create macros for each of the first 3 buttons (just like you did for the 4th
button). Then assign each of the macros to the correct button on the worksheet.
 
Thanks Peterson,what macro is appropriate?. For my 'goto sheet10' shall I use
hyper link function with option button?
 
Record a macro when you do it manually.

For just going to another sheet, I'd use something like:

Sub GotoSheet10()
worksheets("sheet10").select
End sub

If I wanted to go to a specific cell, I'd use:

Sub GotoSheet10()
application.goto worksheets("sheet10").range("a1"), scroll:=true
End sub
 
Thank you sir !!
I appreciate your HELP.

Dave Peterson said:
Record a macro when you do it manually.

For just going to another sheet, I'd use something like:

Sub GotoSheet10()
worksheets("sheet10").select
End sub

If I wanted to go to a specific cell, I'd use:

Sub GotoSheet10()
application.goto worksheets("sheet10").range("a1"), scroll:=true
End sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top