Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Return sheet name from an address range
Hello,
I'm looking for a VBA function that returns the sheet name from a full address of an excel range. I am looking at a different solution than ...Range(name).Worksheet as it seems not recognized in VB6 Please help Avi |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Return sheet name from an address range
Hi Avi,
Try: Dim sStr As String sStr = Range("MyRange").Parent.Name --- Regards, Norman "avi" wrote in message oups.com... Hello, I'm looking for a VBA function that returns the sheet name from a full address of an excel range. I am looking at a different solution than ...Range(name).Worksheet as it seems not recognized in VB6 Please help Avi |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Return sheet name from an address range
Range(name).Worksheet.Name should work.
Hth, Merjet |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
return cell address of longest text string in a range | Excel Discussion (Misc queries) | |||
A function to find a phrase within a range of cells and return the address of the first instance. | Excel Programming | |||
How to return the address of the range of plotted data on an XY scatter chart? | Charts and Charting in Excel | |||
Return Range Address from Active Range | Excel Programming | |||
Formula to return ADDRESS of cell in range that meets criteria | Excel Worksheet Functions |