Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Yiling
 
Posts: n/a
Default Open template automatically


I'm doing a project on designin a template to help staff prepare the
cash budget with excel. In order to make it easy to use, how can i have
EXCEL open the template automatically when Excel is activated?


--
Yiling
------------------------------------------------------------------------
Yiling's Profile: http://www.excelforum.com/member.php...o&userid=24633
View this thread: http://www.excelforum.com/showthread...hreadid=382215

  #2   Report Post  
anilsolipuram
 
Posts: n/a
Default


You have to use macro for this, you can paste this code in vba editor ,
"this workbook".

go to tools-macro-visual basic editor- double click "this workbook"
on the left , paste this code, save the excel , close it and open it.
As soon as it is opened template will be opened, you have to change the
path defined in the code.


Private Sub Workbook_Open()
Workbooks.Open Filename:="C:\My Documents\template.xls" 'define the
template path
End Sub


--
anilsolipuram
------------------------------------------------------------------------
anilsolipuram's Profile: http://www.excelforum.com/member.php...o&userid=16271
View this thread: http://www.excelforum.com/showthread...hreadid=382215

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
How do I automatically open linked documents in Excel? DroKoz New Users to Excel 3 June 28th 05 03:25 PM
How do I remove "cannot open template wizard" msg box? DJ Excel Discussion (Misc queries) 0 April 26th 05 07:50 PM
Excel Template fails to open??? Rob Smith Excel Discussion (Misc queries) 2 April 11th 05 06:42 PM
Excel template to load automatically as the default template? David Excel Discussion (Misc queries) 1 March 21st 05 12:24 PM
automatically change nvoice # on template jerome keays Excel Worksheet Functions 1 January 15th 05 07:14 PM


All times are GMT +1. The time now is 04:10 AM.

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"