Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 576
Default Is there a way to ReName a Sheet Using a Drop Down Menu?

Otto,

Am using 97 and didn't think it worked. Thought I had tried it before. But
tried your code and IT WORKS!

This opens some interesting possibilities for me...

thanks...

--
sb
"Otto Moehrbach" wrote in message
...
Steve
I think you're wrong on that one. I have Excel 2002 and have had most
other versions in the past. I can't swear they all fire on the drop-down,
but my experience is they do. The following macro displays the MsgBox

every
time the displayed value of A1 changes.
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address < "$A$1" Then Exit Sub
MsgBox "It changed"
End Sub
Otto
"steve" wrote in message
...
Otto,

Caution. The change event doesn't fire from a Validation drop down.
A work around is to put a formula in another cell dependent on the drop

down
(as simple as = A1) and use the calculate event.

--
sb
"Otto Moehrbach" wrote in message
...
To add to what Heapy gave you. If your drop-down box is simply a Data
Validation cell in say, A1, then you can use:
ActiveSheet.Name = Range("A1").Value
You would place this line in a Worksheet_Change event macro in the

sheet
module. You would need to add code to your macro to restrict this

action
to
a change in only that one cell (A1). Post back if this is not clear.

HTH
Otto
"Joe R." wrote in message
...
I've placed a drop down menu (which doesn't print when the
sheet is printed) on a sheet. The choice selected from
the menu is placed in a cell on the spreadsheet and this
cell is printed.

What I'd like to do is rename the sheet to the value
chosen from the drop down menu. Assuming this is
possible, how is this done?








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
how do i rename a sheet if the rename tab is inactive? Nelson Excel Worksheet Functions 1 March 3rd 10 10:28 AM
keyboard shortcut to pull up sheet menu(copy,delete,rename,etc)? EMD Excel Discussion (Misc queries) 1 April 22nd 09 07:59 PM
updating sheet by choice from drop down menu kal4000 Excel Discussion (Misc queries) 2 June 30th 08 08:54 PM
Drop dwn menu. Formula to count selection frm menu in anoth cell? ggoldber Excel Worksheet Functions 1 June 4th 08 02:21 PM
how to activate a drop down menu in spreed sheet with space bar? Raza Excel Discussion (Misc queries) 0 April 20th 06 05:21 PM


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

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

About Us

"It's about Microsoft Excel"