Thread: selecting cells
View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Lance Lance is offline
external usenet poster
 
Posts: 39
Default selecting cells

I want to select a cell in worksheet 1, then select that same one in
worksheet 2, so worksheet1, cell B20. Then go to worksheet 2, select cell
B20. however, I don't want it set to just B20 though, because next time, it
might be worksheet1 cell A23, worksheet2 cell A23. Does that help?

Lance

"Barb Reinhardt" wrote:

It's not clear what you want to do. Do you want to go to Worksheet2 if
you've Selected a cell on Worksheet1 or if you've changed a cell on
Worksheet1.

Post back and someone can help. It's a fairly easy solution, I think.

Barb Reinhardt


"Lance" wrote:

Hello,

I'm new to VB and VBA.. I was wondering how I might take the active cell I
am currently on in worksheet 1, and go to that same cell in worksheet 2. I
see how to do it if you make it rigid to a specific cell, but how do I make
it take whatever cell I have selected when it's different every time? (..hope
that makes sense)

Thanks,
Lance