Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Setup / November 2006

Tip: Looking for answers? Try searching our database.

Can you force a spreadsheet to open to a specific cell reference?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
KatJ - 08 Nov 2006 05:06 GMT
I am creating an excel spreadsheet to be used across a very large
organisation.  I'd like know if its possible to have that spreadsheet always
open to Cell A1 on the first sheet.  I use Microsoft Office Excel 2003.

Thanks!
Paul B - 08 Nov 2006 11:51 GMT
KatJ, you could put this in the workbook open event,

Private Sub Workbook_Open()
Application.Goto Reference:=Worksheets("Sheet1").Range("A1"), _
   scroll:=True
End Sub

To put in this macro, from your workbook right-click the workbook's icon and
pick View Code. This icon is at the top-left of the spreadsheet this will
open the VBA editor to the thisworkbook module, then, paste the code in the
window that opens on the right hand side, press Alt and Q to close this
window and go back to your workbook, now this will run every time you open
the workbook. If you are using  excel 2000 or newer you may have to change
the macro security settings to get the macro to run. To change the security
settings go to tools, macro, security, security level and set it to medium

Signature

Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003

> I am creating an excel spreadsheet to be used across a very large
> organisation.  I'd like know if its possible to have that spreadsheet always
> open to Cell A1 on the first sheet.  I use Microsoft Office Excel 2003.
>
> Thanks!
KatJ - 08 Nov 2006 22:23 GMT
Thanks Paul - my manager is very pleased!

> KatJ, you could put this in the workbook open event,
>
[quoted text clipped - 18 lines]
> >
> > Thanks!
Paul B - 08 Nov 2006 23:32 GMT
Your welcome, thanks for the feedback

Signature

Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003

> Thanks Paul - my manager is very pleased!
>
[quoted text clipped - 20 lines]
> > >
> > > Thanks!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.