If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
generalized macros
i tried to write a macro for changingthe way the columns are placed on
the excel sheet,but i am not able to make it generalized for every sheet is use . Can aanyone suggest me what to do ? Can i create a single sheet to store my formatted spreadsheet all the time? i am new to writing macros and hence this silly question.......please help me ..... thank you |
#2
|
|||
|
|||
generalized macros
Vishu
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 FileNewWorkbook. 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). On the question of macro storage......If you want a macro to be available for all open workbooks, place it in your Personal Macro Workbook(Personal.xls) If you don't have one, go to ToolsMacro and "record new macro". From the drop-down select "store in" Personal Macro Workbook. Record something trivial then Stop recording. You now have a Personal.xls. You can save it as "hidden". It will open hidden each time you start Excel. Gord Dibben Excel MVP On 15 Jun 2004 07:40:36 -0700, (vishu) wrote: i tried to write a macro for changingthe way the columns are placed on the excel sheet,but i am not able to make it generalized for every sheet is use . Can aanyone suggest me what to do ? Can i create a single sheet to store my formatted spreadsheet all the time? i am new to writing macros and hence this silly question.......please help me .... thank you |
Thread Tools | |
Display Modes | |
|
|