View Single Post
  #14   Report Post  
Posted to microsoft.public.excel.programming
aflatoon[_3_] aflatoon[_3_] is offline
external usenet poster
 
Posts: 1
Default simple code not working


Very strange. Have you tried running Code Cleaner on it to see if that
helps?
Does a simple


Code:
--------------------


msgbox Sheet4.Name
--------------------



work?


Susan;686739 Wrote:

Application.Goto ThisWorkbook.Worksheets(Sheet4).Range("a1")

Sheet4 = ("Indirect Costs") in the properties window where it says
"Microsoft Excel Objects".
get same error.

ThisWorkbook.Activate
With Sheet4
.Activate
.Range("A1").Select
End With

errors out on "With Sheet4". worksheet is visible. this error is
occurring on all worksheets even back 2 years. it is the same
worksheet that gets saved month-to-month. code has not changed.
sheet name has not changed. i'm perplexed.
susan




--
aflatoon

Regards,
A.
------------------------------------------------------------------------
aflatoon's Profile: 1501
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=191759

http://www.thecodecage.com/forumz