Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Editing XLS-type add-ins


When you make an XLS file act as an add-in -- that was how I built
my first menu-building Excel add-in -- you're supposed to twiddle
the IsAddIn property of the ThisWorkbook object when you edit the
code. That much I remember. But what's the proper sequence for
that. Is it this?

Open the VBE
Change IsAddIn to False
Edit
Change IsAddIn to True
Save (apparently needs explicit, doesn't prompt at close?)

Also, when I forget to do this, it doesn't seem to matter much.
What's the purpose of changing that property? Is it only to
make the add-in not visible? (And if so, why is that necessary
[assuming there's no content on its worksheets] since you can
still get at the code?)

TIA

--
Mark Tangard , Microsoft Word MVP
"Life is nothing if you're not obsessed." --John Waters
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Editing XLS-type add-ins

Thank you both for this.

MT

keepitcool wrote:

if you have an xls
then file saveas addin

afaik this does:
saves a copy in the addin folder as an XLA not an XLS
toggles the isaddin property

if you did it manually... you haven't forgotten
that you need to set the file extension to XLA?

the isaddin property toggles visibility of the workbook
(and i believe the names and macro's)

to edit the code you dont need toggle it
but indeed addin changes are NOT saved automatically on close.
if isaddin = true

keepITcool

< email : keepitcool chello nl (with @ and .)
< homepage: http://members.chello.nl/keepitcool

Mark Tangard wrote:


When you make an XLS file act as an add-in -- that was how I built
my first menu-building Excel add-in -- you're supposed to twiddle
the IsAddIn property of the ThisWorkbook object when you edit the
code. That much I remember. But what's the proper sequence for
that. Is it this?

Open the VBE
Change IsAddIn to False
Edit
Change IsAddIn to True
Save (apparently needs explicit, doesn't prompt at close?)

Also, when I forget to do this, it doesn't seem to matter much.
What's the purpose of changing that property? Is it only to
make the add-in not visible? (And if so, why is that necessary
[assuming there's no content on its worksheets] since you can
still get at the code?)

TIA

--
Mark Tangard , Microsoft Word MVP
"Life is nothing if you're not obsessed." --John Waters

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 to convert date type to text type Steffen Excel Discussion (Misc queries) 3 July 17th 07 11:32 AM
Excel will not let me type any characters....I can type in Word. deholly Excel Discussion (Misc queries) 1 March 17th 06 10:34 AM
Excel will not let me type any characters....I can type in Word. deholly Excel Discussion (Misc queries) 0 March 17th 06 10:20 AM
how to change all the words of one type(Gunsuh type)to another metumevlut Excel Discussion (Misc queries) 2 November 11th 05 03:29 PM
Adding new 'Type' to Format->Number->Time->Type Chip Pearson Excel Discussion (Misc queries) 5 September 26th 05 08:45 PM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"