Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Yendorian Yendorian is offline
external usenet poster
 
Posts: 14
Default select specific sheet and cell

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
  #2   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default select specific sheet and cell

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.



--
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

"Yendorian" wrote in message
...
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



  #3   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.word.mailmerge.fields
JLGWhiz JLGWhiz is offline
external usenet poster
 
Posts: 1
Default select specific sheet and cell

Put in the ThisWorkbook code module.

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

"Doug Robbins - Word MVP" wrote:

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.



--
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

"Yendorian" wrote in message
...
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




  #4   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.word.mailmerge.fields
Yendorian Yendorian is offline
external usenet poster
 
Posts: 14
Default select specific sheet and cell

Sorry about that. Problem now solved. Thanks

"Doug Robbins - Word MVP" wrote:

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.



--
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

"Yendorian" wrote in message
...
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




  #5   Report Post  
Posted to microsoft.public.excel.programming,microsoft.public.word.mailmerge.fields
Yendorian Yendorian is offline
external usenet poster
 
Posts: 14
Default select specific sheet and cell

Thanks very much for this. It's easy when you know how!!

"JLGWhiz" wrote:

Put in the ThisWorkbook code module.

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

"Doug Robbins - Word MVP" wrote:

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.



--
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

"Yendorian" wrote in message
...
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




Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to print from specific table cell? Mike Tables 3 December 30th 05 10:54 AM
Select specific cells in table via macro Bill Sturdevant Microsoft Word Help 1 July 27th 05 03:01 PM
Use drop down lists to select specific criteria Diggles1972 Microsoft Word Help 1 July 16th 05 10:12 AM
How do I select specific information from an imported table smintey Tables 4 December 7th 04 07:54 PM
How do I select specific data from an imported document smintey Microsoft Word Help 1 December 6th 04 01:28 PM


All times are GMT +1. The time now is 02:25 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"