Thread: Perplexed...
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Jim Thomlinson[_3_] Jim Thomlinson[_3_] is offline
external usenet poster
 
Posts: 983
Default Perplexed...

When you refer to one sheet in code from anohter sheet you need to make the
full delclaration... try this

Sheets("Sheet5").Range("A5").Select


HTH

"rci" wrote:

Hi all...


odd thing... I have a worksheet_change event that fires fine... but
interestingly, in the code when I say:

Sheets("Sheet2").Select
Range("A5").Select

It will select the sheet, but will NOT select A5.

I wonder if the change function is doing this to prevent an infinite loop...

Hmmm...

How to get around this... (BTW, sheet2 does NOT have a change event)

Thx,

SMS