Home |
Search |
Today's Posts |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
VBA to Rename Excel Worksheet Value of Cell.
Sub test()
Worksheets("current_name").Name=Range("c7").Value End Sub wrote in message oups.com... Hi, I need to write a VBA program to rename a worksheet. The tricky part is that I need it to be renamed to whatever a value is in a particular cell. For example, if cell C7 says "Management" I want the worksheet to be renamed "Management". Is this possible? Any help would be great! Thanks. -Idan |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Rename Worksheet From Cell Data | Excel Worksheet Functions | |||
rename worksheet based on contents of a cell in different workshee | Excel Discussion (Misc queries) | |||
new worksheet and rename from cell contents macro | Excel Worksheet Functions | |||
Rename a Worksheet on Input of Value in Cell | Excel Worksheet Functions | |||
how do i rename worksheet to equal cell name | Excel Worksheet Functions |