Getting cursor to go to specified cell on opening

  • Thread starter Thread starter lewisjohn78
  • Start date Start date
L

lewisjohn78

I want users when opening a location to open with the cursor at a
specific spot rather than the last place I saved. Any ideas how?
 
Put something like this into a General module:

Option Explicit
sub auto_open()
application.goto thisworkbook.worksheets("Sheet99").range("a99"),scroll:=true
end sub

Change the worksheet name (I used Sheet99) and address (A99??) to what you need.

If you're new to macros, you may want to read David's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm
 

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