Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Walter L. Skinner
 
Posts: n/a
Default set row height upon opening excel

I would like to have the row height set to "20" upon opening or creating a
new workbook. You can change the default setting for the column, why not for
the height of a row.

If there is a way to write a macro that will execute when that workbook is
open I would be interested in that also.

Thanks
  #2   Report Post  
Sunil Jayakumar
 
Posts: n/a
Default

If you go to your Personal.xls, and paste this code in the "ThisWorkbook"
page, it will automatically set the row height to 20. You may need to add
this to the new sheet activate as well.

Private Sub Workbook_Open()
Cells.Select
Selection.RowHeight = 20
End Sub


"Walter L. Skinner" <Walter L. wrote in
message ...
I would like to have the row height set to "20" upon opening or creating a
new workbook. You can change the default setting for the column, why not
for
the height of a row.

If there is a way to write a macro that will execute when that workbook is
open I would be interested in that also.

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.misc
WL WL is offline
external usenet poster
 
Posts: 3
Default set row height upon opening excel

How to find Personal.xls. I want to change the defualt setting of the row to
12.75? Please help! Thanks

"Sunil Jayakumar" wrote:

If you go to your Personal.xls, and paste this code in the "ThisWorkbook"
page, it will automatically set the row height to 20. You may need to add
this to the new sheet activate as well.

Private Sub Workbook_Open()
Cells.Select
Selection.RowHeight = 20
End Sub


"Walter L. Skinner" <Walter L. wrote in
message ...
I would like to have the row height set to "20" upon opening or creating a
new workbook. You can change the default setting for the column, why not
for
the height of a row.

If there is a way to write a macro that will execute when that workbook is
open I would be interested in that also.

Thanks




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default set row height upon opening excel

WL

I wouldn't bother with Personal.xls and code.

Open a new workbook. Customize as you wish.

FileSave As Type: scroll down to Excel Template(*.XLT) and select. Name your
workbook "BOOK"(no quotes). Excel will add the .XLT to save as BOOK.XLT.

Store this workbook in the XLSTART folder usually located at........

C:\Documents and Settings\username\Application Data\Microsoft\Excel\XLSTART

This will be the default workbook for FileNew or the Toolbar button FileNew

WARNING................Do not use FileNew...Blank Workbook or you will get the
Excel default workbook.

NOTE: Existing workbooks are not affected by these settings.

You can also open a new workbook and delete all but one sheet. Customize as
you wish then save this as SHEET.XLT in XLSTART folder also. It now becomes
the default InsertSheet.

More can be found on this in Help under "templates"(no quotes).


Gord Dibben Excel MVP



On Tue, 16 Jan 2007 13:37:01 -0800, WL wrote:

How to find Personal.xls. I want to change the defualt setting of the row to
12.75? Please help! Thanks

"Sunil Jayakumar" wrote:

If you go to your Personal.xls, and paste this code in the "ThisWorkbook"
page, it will automatically set the row height to 20. You may need to add
this to the new sheet activate as well.

Private Sub Workbook_Open()
Cells.Select
Selection.RowHeight = 20
End Sub


"Walter L. Skinner" <Walter L. wrote in
message ...
I would like to have the row height set to "20" upon opening or creating a
new workbook. You can change the default setting for the column, why not
for
the height of a row.

If there is a way to write a macro that will execute when that workbook is
open I would be interested in that also.

Thanks





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
Opening downloaded IE files in Excel Steve H Excel Discussion (Misc queries) 5 March 28th 06 04:57 PM
Opening an Excel file Sheldon Zaklow Excel Discussion (Misc queries) 0 March 3rd 05 10:29 PM
Autofitting a row Josephine Excel Discussion (Misc queries) 2 March 3rd 05 03:37 PM
Difference in number of Excel NewsGroups Hari Prasadh Excel Discussion (Misc queries) 1 January 25th 05 11:32 AM
excel opening file error Firemedic395 Excel Discussion (Misc queries) 2 December 8th 04 05:50 PM


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

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

About Us

"It's about Microsoft Excel"