Extracting worksheet index
Actually scrap that. Doesn't work when the sheet focus changes.
"Rowan" wrote:
How about
Function thisSheet()
thisSheet = ActiveSheet.Index
End Function
Rowan
"Ziv" wrote:
I am trying to write a UDF that extract the worksheet index of the cell that
contains the UDF , similar to ThisCell or Thisworkbook. Any suggestions?
|