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 / Word / Mailmerge and Fax / November 2007

Tip: Looking for answers? Try searching our database.

select specific sheet and cell

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Yendorian - 09 Nov 2007 16:37 GMT
I have an Excel workbook which has 5 worksheets. I would like to add some VBA
code so that whenever the workbook is opened, we automatically go to Sheet 3,
Cell F6. And in which category should I write this code - Sheet1, 2, 3, 4, or
5 or This Workbook?
Can anyone help please
Doug Robbins - Word MVP - 09 Nov 2007 20:59 GMT
You will be more likely to receive a response to this if you ask in the
microsoft.public.excel.programming newsgroup to which I have cross posted
this response.

Signature

Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

>I have an Excel workbook which has 5 worksheets. I would like to add some
>VBA
[quoted text clipped - 4 lines]
> 5 or This Workbook?
> Can anyone help please
JLGWhiz - 09 Nov 2007 21:32 GMT
Put in the ThisWorkbook code module.

Private Sub Workbook_Open()
 Worksheets("Sheet3").Activate
 Range("F6").Activate
End Sub

> You will be more likely to receive a response to this if you ask in the
> microsoft.public.excel.programming newsgroup to which I have cross posted
[quoted text clipped - 8 lines]
> > 5 or This Workbook?
> > Can anyone help please
Yendorian - 14 Nov 2007 09:29 GMT
Thanks very much for this. It's easy when you know how!!

> Put in the ThisWorkbook code module.
>
[quoted text clipped - 15 lines]
> > > 5 or This Workbook?
> > > Can anyone help please
Yendorian - 14 Nov 2007 09:28 GMT
Sorry about that. Problem now solved. Thanks

> You will be more likely to receive a response to this if you ask in the
> microsoft.public.excel.programming newsgroup to which I have cross posted
[quoted text clipped - 8 lines]
> > 5 or This Workbook?
> > Can anyone help please
 
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.