ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Modify the default new workbook? (https://www.excelbanter.com/excel-worksheet-functions/12594-modify-default-new-workbook.html)

Margot

Modify the default new workbook?
 
I want to be able to make a module in visual basic and have it available in
all new workbooks. Can some one tell me how to save it to the default new
workbook?

Gord Dibben

Margot

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.

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 Thu, 10 Feb 2005 14:01:04 -0800, Margot
wrote:

I want to be able to make a module in visual basic and have it available in
all new workbooks. Can some one tell me how to save it to the default new
workbook?




All times are GMT +1. The time now is 10:56 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com