Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
DZ DZ is offline
external usenet poster
 
Posts: 29
Default Add-in is visible

I created an addin for Excel (.XLA). It works fine but sometimes when it is
added to the current workbook it is visible

How can I make sure that it always opens invisibly when it is loaded?

Thanks for any help

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default Add-in is visible

If the file is truly an Addin it will not be visible. Sounds like the file
is a normal file that happens have an xla extension.

In the VBE, in the Project panel (if necessary Ctrl-R), select the
ThisWorkbook module in your project. In the Properties panel (if necessary
F4) Ensure IsAddin is True. Close all module windows and collapse the tree
in the Project panel.

Save the file with the icon in the VBE menu, or with the project name still
highlit, in the Immediate window (Ctrl-G) type
thisworkbook.save
and hit enter

Actually before doing the above, you say sometimes the addin is hidden but
other times not, I wonder if you have two similarly named files in different
locations, one truly an addin but the other not. Might be worth searching
your HD for duplicates. Rename the non-addin as .xls

Regards,
Peter T


"DZ" wrote in message
...
I created an addin for Excel (.XLA). It works fine but sometimes when it

is
added to the current workbook it is visible

How can I make sure that it always opens invisibly when it is loaded?

Thanks for any help



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
Autofilter: jump from visible row to visible row by command button [email protected] Excel Programming 0 November 4th 06 09:04 PM
Worksheet has to set to visible as it is not visible after saving and closing Excel by VB. Oscar Excel Programming 6 June 21st 05 10:39 PM
Autoshapes not visible on spreadsheet but visible in print preview John Excel Discussion (Misc queries) 3 February 11th 05 10:23 PM
Toggle text to be visible and not visible Dave Y[_3_] Excel Programming 3 January 10th 04 07:27 PM
Toggle Text in a column to be visible or not visible Dave Y[_3_] Excel Programming 4 January 8th 04 08:46 PM


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