Navigating cells in VBA

  • Thread starter Thread starter charlieb
  • Start date Start date
C

charlieb

Is it possible to navigate to a specific cell on a sheet and have that
active cell always appear at the top left of the window. I have
several spreadsheet on a single tab. Using an index page, i want to
select an item and go to a new tab and put a specific spreadsheet
exactly in the center of the window. It appears that VBA places the
requested cell randomly in the window. THANKS in advance for the help
Charlie
 
try this
You could tie to a sheet_activate event to make it automatic

Sub gotoandscrollrow()
ActiveWindow.ScrollRow = 10
ActiveWindow.ScrollColumn = 3
End Sub
 
Thanks to everyone for the suggestions. Both did the job. Appreciate the
help
Charlie
 

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

Back
Top