Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Loading default template


Hello,

I have default template with macro. When I open MS Excel and crete ne
workbook the template is loaded, but when I create workbook b
right-click on destktop - New - New Microsoft Excel Worksheet, th
template is not loaded.

Can you help me with this problem. I need simply macro which i
activate always at each opened workbook.

Thanks in advance.

Karol Nekanovi

--
karne
-----------------------------------------------------------------------
karnek's Profile: http://www.excelforum.com/member.php...fo&userid=3657
View this thread: http://www.excelforum.com/showthread.php?threadid=56315

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Loading default template

Seems that the WB created when you right clickNew, is located at
"C:\WINNT\ShellNew\EXCEL9.xls for me with Excel 2K.
You could modify that I suppose, by no will run when created, because is
only copied, not opened.

You can code to your Personal.xls, using Application Level Events to perform
actions whenever a WB is opened or New created through Excel.

Depends what you want to achieve.

NickHK

"karnek" wrote in
message ...

Hello,

I have default template with macro. When I open MS Excel and crete new
workbook the template is loaded, but when I create workbook be
right-click on destktop - New - New Microsoft Excel Worksheet, the
template is not loaded.

Can you help me with this problem. I need simply macro which is
activate always at each opened workbook.

Thanks in advance.

Karol Nekanovic


--
karnek
------------------------------------------------------------------------
karnek's Profile:

http://www.excelforum.com/member.php...o&userid=36570
View this thread: http://www.excelforum.com/showthread...hreadid=563151



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Loading default template


NickHK, thank you for your answer. It helped me with that issue.

But I recognized, that my default template works only with new WB an
when I open exist one the template is not loaded and active. I nee
that the template is loaded at each WB.

Could you please help me how can I do it?

Thanks in advance.

Karol Nekanovi

--
karne
-----------------------------------------------------------------------
karnek's Profile: http://www.excelforum.com/member.php...fo&userid=3657
View this thread: http://www.excelforum.com/showthread.php?threadid=56315

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default Loading default template

But if you are opening a file, that means that it already exists and could
be any style/layout/design.

I do not understand why you want to open a (new) template every time you
open any existing file.

Explain what you are trying to do.

NickHK

"karnek" wrote in
message ...

NickHK, thank you for your answer. It helped me with that issue.

But I recognized, that my default template works only with new WB and
when I open exist one the template is not loaded and active. I need
that the template is loaded at each WB.

Could you please help me how can I do it?

Thanks in advance.

Karol Nekanovic


--
karnek
------------------------------------------------------------------------
karnek's Profile:

http://www.excelforum.com/member.php...o&userid=36570
View this thread: http://www.excelforum.com/showthread...hreadid=563151



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
Template question - can I replace the default "worksheet" template Jackie Excel Discussion (Misc queries) 2 April 19th 06 11:59 AM
Problem with loading a template Martien Janssen Excel Programming 0 February 11th 06 10:20 PM
Excel template to load automatically as the default template? David Excel Discussion (Misc queries) 1 March 21st 05 12:24 PM
Loading data table in a Workbook template Bing Excel Programming 1 December 24th 04 04:46 PM
loading a template from the network on toolbar kurt Excel Programming 0 October 1st 03 09:48 AM


All times are GMT +1. The time now is 04:03 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"