Thread: Sheet name
View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
OssieMac OssieMac is offline
external usenet poster
 
Posts: 2,510
Default Sheet name


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" ))