View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Annie Whitley Annie Whitley is offline
external usenet poster
 
Posts: 8
Default Case select and sheet codename

Hi everyone,

I'm replacing all sheet tab names with sheet codenames in my project.

I'm getting Runtime error 438. Object doesn't support this property or method.

I'm guessing it's this part of the code. ???

Select Case sht.CodeName
Case Sheet33, Sheet25, Sheet28, Sheet27
sht.Visible = xlVeryHidden
Case Else
sht.Visible = True
End Select

Hoping that someone can help :-)

--
Thank you
Annie