Going to a specific cell

D

dhstein

I want to have a macro that's goes to a specific part of the spreadsheet -
for example BB1. But I want BB1 to be in the left corner of the window. If
I just Select the cell it might not do that. How do I go to that cell and
ensure that the window is correct - the cells to the left of BB1 are not
visible. Thanks for any help on this.
 
M

Ms-Exl-Learner

Try this...

Press F5 and in "reference:" type BB1 and give ok or Enter. The Cursor
will be moved in BB1 cell.

Like that type your cell reference to move to that particular cell.
 
D

dhstein

Thanks for the response - but that doesn't work. Depending on what the user
has been doing and where the cursor is etc. there may be other cells visible
to the left of BB1 and that's what I'm trying to solve.

David
 
J

Jacob Skaria

Try the below...Use the smallscroll and LargeScroll properties of the
ActiveWindow and adjust to suit..

Range("BB1").Activate
ActiveWindow.SmallScroll ToRight:=10

If this post helps click Yes
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top