Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel VBA - Changing a template in an Add-in

Some time ago, I created an Excel Add-in which included several macro
and two templates. I'd like to change one of the templates, but can'
remember how to access a template in an add-in.
When I open the add-in, the sheets are hidden and the code is availabl
using the VBA editor. The templates show in the Project explorer map.

How can I make the templates visible and change them?

Thanks
Fran

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Excel VBA - Changing a template in an Add-in

Frank,

Via the IsAddin property.

Unset it first with

workbooks("myAddin.xla").isaddin=false

do your stuff, then set it back to True.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"FrankE " wrote in message
...
Some time ago, I created an Excel Add-in which included several macros
and two templates. I'd like to change one of the templates, but can't
remember how to access a template in an add-in.
When I open the add-in, the sheets are hidden and the code is available
using the VBA editor. The templates show in the Project explorer map.

How can I make the templates visible and change them?

Thanks
Frank


---
Message posted from http://www.ExcelForum.com/



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel VBA - Changing a template in an Add-in

Thanks Bob.

Strange how difficult some things become if you don't work with the
for a couple of years.

Do you just remember things or use a Reference Book? If you do use
book, which one do you recommend?

Also, from your quote, do you actually live in Poole?

Regards
Fran

--
Message posted from http://www.ExcelForum.com

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Excel VBA - Changing a template in an Add-in

It's a pleasure Frank.

I mainly remember them. I have a reference book, John Green's Excel 2000 VBA
Programmer's Reference, but I rarely look at it these days, having scoured
it from front to back over the years. I do recommend it though, excellent
book.

And yes, I do live in Poole, right by the park. Do you know it?

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"FrankE " wrote in message
...
Thanks Bob.

Strange how difficult some things become if you don't work with them
for a couple of years.

Do you just remember things or use a Reference Book? If you do use a
book, which one do you recommend?

Also, from your quote, do you actually live in Poole?

Regards
Frank


---
Message posted from http://www.ExcelForum.com/



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
Changing the Format of the Default Book1 template billbrandi Excel Discussion (Misc queries) 1 June 19th 08 09:41 PM
Basic template with continous numbers changing only Sar Excel Worksheet Functions 1 February 9th 08 11:29 AM
How do I batch print changing info to a template in Excel ? Calculus Excel Discussion (Misc queries) 0 July 5th 07 07:44 AM
Changing a template in excel Drexxyl Excel Discussion (Misc queries) 5 March 16th 06 06:11 PM
How can i print a template pages with changing reference numbers? Reference Numbers Excel Discussion (Misc queries) 4 July 18th 05 03:07 PM


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