Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 68
Default Help to the first sheet

Hi,

In every first of excel the cover sheet message should be inputted.

whenever I open the excel file automatically the first sheet should contain
the cover sheet information always.

Could you please guide how to automate this when ever I open the spreadsheet
the first sheet should be with the cover sheet information.

Regards,
Igneshwara reddy.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 126
Default Help to the first sheet

In the VB Editor there is a module at the bottom of the list of sheets that
is called ThisWorkbook. Click on it and insert the following code

Private Sub Workbook_Open()
Sheets("MyFirstSheet").Activate
End Sub

Change "MyFirstSheet" to the name of your first worksheet --keeping the
quotation marks.

"Igneshwara reddy" wrote:

Hi,

In every first of excel the cover sheet message should be inputted.

whenever I open the excel file automatically the first sheet should contain
the cover sheet information always.

Could you please guide how to automate this when ever I open the spreadsheet
the first sheet should be with the cover sheet information.

Regards,
Igneshwara reddy.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 68
Default Help to the first sheet

Hi,

I hope you have not understood my requirement, apologize for that.

I having a coding which I have done the macros to run for my work, now
whenever I open any spreadsheet (not specific) the cursor has to move extreme
left (irrespective of the sheets it has and wherever the cursor is) and it
has to insert a sheet. There onwards it has to rename the sheet as "Verson"
and my macros should run in that spreadsheet.

Let me know how it can be done.

Regards,
Igneshwara reddy.


"cush" wrote:

In the VB Editor there is a module at the bottom of the list of sheets that
is called ThisWorkbook. Click on it and insert the following code

Private Sub Workbook_Open()
Sheets("MyFirstSheet").Activate
End Sub

Change "MyFirstSheet" to the name of your first worksheet --keeping the
quotation marks.

"Igneshwara reddy" wrote:

Hi,

In every first of excel the cover sheet message should be inputted.

whenever I open the excel file automatically the first sheet should contain
the cover sheet information always.

Could you please guide how to automate this when ever I open the spreadsheet
the first sheet should be with the cover sheet information.

Regards,
Igneshwara reddy.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 126
Default Help to the first sheet

OK Let's take this one step at a time

1.whenever I open any spreadsheet (not specific) the cursor has to move
extreme
left (irrespective of the sheets it has and wherever the cursor is)
Try this
'Move to the left 10 "screen widths"
ActiveWindow.LargeScroll (ToLeft:=10)


2. and it has to insert a sheet. There onwards it has to rename the sheet
as "Verson"

Worksheets.Add
Activesheet.Name="Verson"



and my macros should run in that spreadsheet.

You can make things happen in this worksheet by starting with:

With Sheets("Verson")
.Activate
.Cells(3,7).Select
Etc
End With

"Igneshwara reddy" wrote:

Hi,

I hope you have not understood my requirement, apologize for that.

I having a coding which I have done the macros to run for my work, now
whenever I open any spreadsheet (not specific) the cursor has to move extreme
left (irrespective of the sheets it has and wherever the cursor is) and it
has to insert a sheet. There onwards it has to rename the sheet as "Verson"
and my macros should run in that spreadsheet.

Let me know how it can be done.

Regards,
Igneshwara reddy.


"cush" wrote:

In the VB Editor there is a module at the bottom of the list of sheets that
is called ThisWorkbook. Click on it and insert the following code

Private Sub Workbook_Open()
Sheets("MyFirstSheet").Activate
End Sub

Change "MyFirstSheet" to the name of your first worksheet --keeping the
quotation marks.

"Igneshwara reddy" wrote:

Hi,

In every first of excel the cover sheet message should be inputted.

whenever I open the excel file automatically the first sheet should contain
the cover sheet information always.

Could you please guide how to automate this when ever I open the spreadsheet
the first sheet should be with the cover sheet information.

Regards,
Igneshwara reddy.

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 68
Default Help to the first sheet

Hi Cush,

The information was helpful but I am receiving an error when I am using

ActiveWindow.LargeScroll (ToLeft:=10)

Compile Error:
Expected:=


Not able to understand what is this referring too..

Please guide me on this.

Regards,
Igneshwara reddy.

"cush" wrote:

OK Let's take this one step at a time

1.whenever I open any spreadsheet (not specific) the cursor has to move
extreme
left (irrespective of the sheets it has and wherever the cursor is)
Try this
'Move to the left 10 "screen widths"
ActiveWindow.LargeScroll (ToLeft:=10)


2. and it has to insert a sheet. There onwards it has to rename the sheet
as "Verson"

Worksheets.Add
Activesheet.Name="Verson"



and my macros should run in that spreadsheet.

You can make things happen in this worksheet by starting with:

With Sheets("Verson")
.Activate
.Cells(3,7).Select
Etc
End With

"Igneshwara reddy" wrote:

Hi,

I hope you have not understood my requirement, apologize for that.

I having a coding which I have done the macros to run for my work, now
whenever I open any spreadsheet (not specific) the cursor has to move extreme
left (irrespective of the sheets it has and wherever the cursor is) and it
has to insert a sheet. There onwards it has to rename the sheet as "Verson"
and my macros should run in that spreadsheet.

Let me know how it can be done.

Regards,
Igneshwara reddy.


"cush" wrote:

In the VB Editor there is a module at the bottom of the list of sheets that
is called ThisWorkbook. Click on it and insert the following code

Private Sub Workbook_Open()
Sheets("MyFirstSheet").Activate
End Sub

Change "MyFirstSheet" to the name of your first worksheet --keeping the
quotation marks.

"Igneshwara reddy" wrote:

Hi,

In every first of excel the cover sheet message should be inputted.

whenever I open the excel file automatically the first sheet should contain
the cover sheet information always.

Could you please guide how to automate this when ever I open the spreadsheet
the first sheet should be with the cover sheet information.

Regards,
Igneshwara reddy.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
excel sheet bootom half sheet goes behind top part of sheet rob Excel Worksheet Functions 2 January 17th 09 01:28 AM
Duplicate sheet, autonumber sheet, record data on another sheet des-sa[_2_] Excel Worksheet Functions 0 May 8th 08 06:56 PM
Copying cells from on sheet to another sheet (via sheet module) CRayF Excel Programming 6 September 20th 05 08:58 PM
relative sheet references ala sheet(-1)!B11 so I can copy a sheet. RonMc5 Excel Discussion (Misc queries) 9 February 3rd 05 12:51 AM
Inserting a row in sheet A should Insert a row in sheet B, removing a row in Sheet A should remove the corresponding row in sheet B Hannes Heckner Excel Programming 1 March 5th 04 09:10 AM


All times are GMT +1. The time now is 07:08 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"