Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default select sheet

I am trying to use a macro button to select a sheet from
a dropdown menu on a worksheet. I tried:

Sheets(Range("c4")).select

In addition, I need to place a button on the sheet that
is selected to go back to the original sheet.

Any advice?
  #2   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default select sheet

is this what you want?

worksheets("NAME OF YOU WORKSHEET").range("C4").select

as for creating a button, got to "view" in your normal
excel window, "tool bars" and select "control toolbox."
you can create the button you want and right click on it
to set the properties.
-----Original Message-----
I am trying to use a macro button to select a sheet from
a dropdown menu on a worksheet. I tried:

Sheets(Range("c4")).select

In addition, I need to place a button on the sheet that
is selected to go back to the original sheet.

Any advice?
.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default select sheet

I am new to this so I am not sure if I conveyed my
request correctly. I am in a worksheet that contains a
drop-down box assigned to a column name (validation
feature) on another page. The column contains a list of
all worksheets.

Once I select the worksheet from the dropdown menu, I
would like to have the macro (by clicking the button) go
to the worksheet selected in the drop-down. Once I have
completed what I need to do in the selected worksheet, I
would like to have another macro (assigned to a button)
that takes me back to the worksheet that contains the
drop-down list. I know this is confusing but I am about
to pull my hair out!
-----Original Message-----
is this what you want?

worksheets("NAME OF YOU WORKSHEET").range("C4").select

as for creating a button, got to "view" in your normal
excel window, "tool bars" and select "control toolbox."
you can create the button you want and right click on it
to set the properties.
-----Original Message-----
I am trying to use a macro button to select a sheet

from
a dropdown menu on a worksheet. I tried:

Sheets(Range("c4")).select

In addition, I need to place a button on the sheet that
is selected to go back to the original sheet.

Any advice?
.

.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 38
Default select sheet

"nman" wrote in message
...
I am trying to use a macro button to select a sheet from
a dropdown menu on a worksheet. I tried:

Sheets(Range("c4")).select


assuming range C4 contains the name of the sheet you wish to select
Sheets([C4].Value).Activate


In addition, I need to place a button on the sheet that
is selected to go back to the original sheet.

Any advice?


Sheets("name of original sheet").Activate

Paul D


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
Select pictures from a sheet into an other sheet Pjotr70 Excel Discussion (Misc queries) 5 June 18th 09 01:03 PM
Alternate Row Select in Sheet 1 then Paste to Sheet 2 Steevo Excel Worksheet Functions 4 December 5th 08 06:45 PM
How do I select price from sheet.b where sheet.a part no = sheet.b Sonny Excel Worksheet Functions 4 April 4th 06 05:08 PM
Use Sheet CodeNames to Select Sheet in Different Workbook Randy Excel Discussion (Misc queries) 1 June 10th 05 12:17 AM
Macro, select Sheet "Number", NOT Sheet Name DAA Excel Worksheet Functions 4 November 30th 04 05:29 PM


All times are GMT +1. The time now is 09:47 AM.

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"