Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
UDF showing full Path of Worksheet or Worksheet Name?
How can I modify Wallenbachs UDF to show the "Worksheet
Name" of the referenced worksheet and or the fullpath? Function SHEETOFFSETNAME(offset, Ref) ' Returns cell contents at Ref, in sheet offset Application.Volatile With Application.Caller.Parent SHEETOFFSETNAME = .Parent.Sheets(.Index + offset).Range(Ref.Address).Value End With End Function Thanks.... .. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
UDF showing full Path of Worksheet or Worksheet Name?
Sheet name
Function SHEETOFFSETNAME(offset) ' Returns cell contents at Ref, in sheet offset Application.Volatile With Application.Caller.Parent SHEETOFFSETNAME = .Parent.Sheets(.Index + offset).Name End With End Function -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "PDX" wrote in message ... How can I modify Wallenbachs UDF to show the "Worksheet Name" of the referenced worksheet and or the fullpath? Function SHEETOFFSETNAME(offset, Ref) ' Returns cell contents at Ref, in sheet offset Application.Volatile With Application.Caller.Parent SHEETOFFSETNAME = .Parent.Sheets(.Index + offset).Range(Ref.Address).Value End With End Function Thanks.... . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
file name and path in worksheet | Excel Discussion (Misc queries) | |||
Direct path to Worksheet | Excel Discussion (Misc queries) | |||
How do I go from read only to full access worksheet | Excel Worksheet Functions | |||
Worksheet won't display full screen | New Users to Excel |