View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Robert Crandal Robert Crandal is offline
external usenet poster
 
Posts: 309
Default (Error 1004) Object Defined Error ...simple code

I have the following simple simple code:

Dim s as String

s = WeekdayName(1) ' Causes Error 1004


Why would the above call to "WeekdayName(1)" suddenly
cause an Object Defined Error?? My program has been working
nicely for awhile, but now all of a sudden it halts at the above line???
What the heck is going on???

Robert Crandal