Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 171
Default Use and navigate through option button on w/sheet

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.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Use and navigate through option button on w/sheet

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.



TUNGANA KURMA RAJU wrote:

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.


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 171
Default Use and navigate through option button on w/sheet

Thanks Peterson,what macro is appropriate?. For my 'goto sheet10' shall I use
hyper link function with option button?

"Dave Peterson" wrote:

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.



TUNGANA KURMA RAJU wrote:

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.


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Use and navigate through option button on w/sheet

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

TUNGANA KURMA RAJU wrote:

Thanks Peterson,what macro is appropriate?. For my 'goto sheet10' shall I use
hyper link function with option button?

"Dave Peterson" wrote:

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.



TUNGANA KURMA RAJU wrote:

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.


--

Dave Peterson


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 171
Default Use and navigate through option button on w/sheet

Thank you sir !!
I appreciate your HELP.

"Dave Peterson" wrote:

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

TUNGANA KURMA RAJU wrote:

Thanks Peterson,what macro is appropriate?. For my 'goto sheet10' shall I use
hyper link function with option button?

"Dave Peterson" wrote:

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.



TUNGANA KURMA RAJU wrote:

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.

--

Dave Peterson


--

Dave Peterson



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
option button ? Dan Excel Discussion (Misc queries) 6 December 27th 07 08:42 PM
Option Button Pieter van der Walt Excel Worksheet Functions 2 March 27th 06 12:02 PM
keep source formatting is not an option in paste option button Tina Excel Discussion (Misc queries) 0 February 20th 06 09:58 PM
How do i navigate between sheet tabs from my keyboard? Ryan T Excel Discussion (Misc queries) 5 May 4th 05 08:55 PM
I can't navigate my sheet with my arrow keys. suggestions? Mark Excel Discussion (Misc queries) 1 May 2nd 05 08:45 PM


All times are GMT +1. The time now is 03:50 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"