Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
dk dk is offline
external usenet poster
 
Posts: 129
Default excel add-in refresh

an excel add-in (which has a menu bar ) creates a spreadsheet. If a new
workbook is then opened, and then the someone goes back to the spreadsheet
created by the add-in, the add-in process which initially created the
spreadsheet attempts to create it a second time. Any idea what might be
causing the spreadsheet to re-run through processing when it is activated? It
only seems to happen the first time it is activated. After that the
recreation process does not happen.

tia
dk
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,441
Default excel add-in refresh

dk,

To have us figure that out, you would need to post all the code - macros, events, etc.

HTH,
Bernie
MS Excel MVP


"dk" wrote in message
...
an excel add-in (which has a menu bar ) creates a spreadsheet. If a new
workbook is then opened, and then the someone goes back to the spreadsheet
created by the add-in, the add-in process which initially created the
spreadsheet attempts to create it a second time. Any idea what might be
causing the spreadsheet to re-run through processing when it is activated? It
only seems to happen the first time it is activated. After that the
recreation process does not happen.

tia
dk



  #3   Report Post  
Posted to microsoft.public.excel.programming
dk dk is offline
external usenet poster
 
Posts: 129
Default excel add-in refresh

Thanks for responding.

Not sure if all the code can be posted now. But breakpoints have been placed
in all the code, and when then add-in worksheet is activated, non of the
break points are hit - the code just begins reprocessing - reveal anything,
or heard of anything like this before?

thanks,
dk

"dk" wrote:

an excel add-in (which has a menu bar ) creates a spreadsheet. If a new
workbook is then opened, and then the someone goes back to the spreadsheet
created by the add-in, the add-in process which initially created the
spreadsheet attempts to create it a second time. Any idea what might be
causing the spreadsheet to re-run through processing when it is activated? It
only seems to happen the first time it is activated. After that the
recreation process does not happen.

tia
dk

  #4   Report Post  
Posted to microsoft.public.excel.programming
dk dk is offline
external usenet poster
 
Posts: 129
Default excel add-in refresh

Most of the code is in a module and forms
The rest is in Workbook_AddinInstall()
and Workbook_AddinUninstall()

does the thread "Deactivate Events not Firing" seems to have a slightly
similar scenario when changing between workbooks - any thoughts?

"Bernie Deitrick" wrote:

dk,

To have us figure that out, you would need to post all the code - macros, events, etc.

HTH,
Bernie
MS Excel MVP


"dk" wrote in message
...
an excel add-in (which has a menu bar ) creates a spreadsheet. If a new
workbook is then opened, and then the someone goes back to the spreadsheet
created by the add-in, the add-in process which initially created the
spreadsheet attempts to create it a second time. Any idea what might be
causing the spreadsheet to re-run through processing when it is activated? It
only seems to happen the first time it is activated. After that the
recreation process does not happen.

tia
dk




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
Copy Excel functions formula and auto refresh refresh Pauline Cheong Excel Worksheet Functions 3 February 16th 09 01:23 AM
Create refresh button in worksheet to refresh Pivot Table Data Ron Excel Worksheet Functions 1 October 13th 07 01:20 AM
Timing of automatic query refresh and macro pivot table refresh dutty Excel Programming 2 December 1st 04 07:19 PM
Pivot Table REFRESH Flaw -- Saves Old Data in Selection Area AFTER REFRESH Ken Roberts Excel Programming 3 September 11th 03 06:02 AM
Excel does not close from VB!! (when i refresh Refresh query with BackgroundQuery:=False) Anant[_2_] Excel Programming 1 August 6th 03 04:22 AM


All times are GMT +1. The time now is 12:51 AM.

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"