Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default Custom Excel 2007 Tab disappears when editing an XLAM add-in file

I have a custom Excel 2007 Tab, deployed in an XLAM add-in file that works as
it is supposed to in other regards, but disappears when editing the XLAM file
itself (i.e., the ThisWorkbook IsAddin property is changed to False) AND then
Switching Windows to another Excel file. If I switch back to the XLAM file,
the custom Tab re-appears but then disappears again when I switch back to
another file besides the XLAM. When the XLAM ThisWorkbook IsAddin property
is changed back to True, the custom Tab is then again visible even with the
same file that it was previously not visible with when editing the XLAM
file.

I'm hoping someone might either have some insights into to either how to
prevent this from happening or perhaps suggest a macro to correct it if it
can't be prevented.

Thanks!

Jeff
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Custom Excel 2007 Tab disappears when editing an XLAM add-in file

Hi JeffreyW

If IsAddin = false Excel see it as a normal workbook so it will read
the RibbonX when you activate the workbook and remove the custom tab
when you deactivate the workbook

So it is normal what you see


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"JeffreyW" wrote in message ...
I have a custom Excel 2007 Tab, deployed in an XLAM add-in file that works as
it is supposed to in other regards, but disappears when editing the XLAM file
itself (i.e., the ThisWorkbook IsAddin property is changed to False) AND then
Switching Windows to another Excel file. If I switch back to the XLAM file,
the custom Tab re-appears but then disappears again when I switch back to
another file besides the XLAM. When the XLAM ThisWorkbook IsAddin property
is changed back to True, the custom Tab is then again visible even with the
same file that it was previously not visible with when editing the XLAM
file.

I'm hoping someone might either have some insights into to either how to
prevent this from happening or perhaps suggest a macro to correct it if it
can't be prevented.

Thanks!

Jeff

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default Custom Excel 2007 Tab disappears when editing an XLAM add-in f

Hi Ron and thanks for posting on this. Your answer makes sense and I can see
how MS might even want that to happen although I would prefer to not have my
UI affected just because the file I have active changes. Do you expect this
is something I will have to live with or might there be a way around this?

Jeff


"Ron de Bruin" wrote:

Hi JeffreyW

If IsAddin = false Excel see it as a normal workbook so it will read
the RibbonX when you activate the workbook and remove the custom tab
when you deactivate the workbook

So it is normal what you see


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Custom Excel 2007 Tab disappears when editing an XLAM add-in f

Why do you want to edit (and what) the add-in and want to see your menu ?



--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"JeffreyW" wrote in message ...
Hi Ron and thanks for posting on this. Your answer makes sense and I can see
how MS might even want that to happen although I would prefer to not have my
UI affected just because the file I have active changes. Do you expect this
is something I will have to live with or might there be a way around this?

Jeff


"Ron de Bruin" wrote:

Hi JeffreyW

If IsAddin = false Excel see it as a normal workbook so it will read
the RibbonX when you activate the workbook and remove the custom tab
when you deactivate the workbook

So it is normal what you see


--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default Custom Excel 2007 Tab disappears when editing an XLAM add-in f

Well, I have assembled a set of tools on this custom tab that may be useful
in working with either the Add-in itself or with other open Excel files that
my attention may be diverted to from time to time and I'd like for all of
these tools to stay where I put them without MS deciding that I don't need
them anymore.

Jeff


"Ron de Bruin" wrote:

Why do you want to edit (and what) the add-in and want to see your menu ?



--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Custom Excel 2007 Tab disappears when editing an XLAM add-in f

Use a seperate add-in with the tools then

--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"JeffreyW" wrote in message ...
Well, I have assembled a set of tools on this custom tab that may be useful
in working with either the Add-in itself or with other open Excel files that
my attention may be diverted to from time to time and I'd like for all of
these tools to stay where I put them without MS deciding that I don't need
them anymore.

Jeff


"Ron de Bruin" wrote:

Why do you want to edit (and what) the add-in and want to see your menu ?



--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm

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
labelprint.xlam file not found error appears when excel starts Dennis Wong Excel Discussion (Misc queries) 0 June 1st 08 05:58 AM
Crashing Bug in Solver.XLAM for Excel 2007??? Michael[_40_] Excel Programming 5 December 7th 07 11:01 PM
custom menu disappears when I File, Exit, Cancel Smallweed Excel Programming 2 November 14th 07 05:51 PM
custom menu disappears when I File, Exit, Cancel Smallweed Excel Programming 0 November 14th 07 03:42 PM
Custom help file in Excel 2007 peterhoa[_2_] Excel Programming 0 September 29th 06 01:04 PM


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