View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Edgar Thoemmes[_4_] Edgar Thoemmes[_4_] is offline
external usenet poster
 
Posts: 16
Default Whats wrong with this line of code?

Worksheets.Add.name = range_s after:=Worksheets(Worksheets.Count)

Comes up with the error 'Compile error - Expected end of statement'

Thanks