View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Kashizzz Kashizzz is offline
external usenet poster
 
Posts: 1
Default Passing Worksheet tab as an argument.

Hi,

I have the following function requiring ws as a worksheet...


Code
-------------------
Function LastCell(ws As Worksheet)
...
End Functio
-------------------


This works fine if I call it using Sheet1, Sheet2,...

I want to pass worksheet tab names to the function. Is it possible?

Regard

--
Message posted from http://www.ExcelForum.com