Thread: Sheet name
View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.programming
Oldjay Oldjay is offline
external usenet poster
 
Posts: 337
Default Sheet name

Thanks again for the help

"OssieMac" wrote:


MyConstant = Application.CountA(ActiveSheet.Range("A2:I31"))

--
Regards,

OssieMac


"oldjay" wrote:


I want to change this from the Master sheet to the active sheet

MyConstant = Application.CountA(Sheets("Master").Range("A2:I31" ))