Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default Why does code run evry time any xls file is opened

When I first startup excel it runs a subroutine that asks me to select a
printer? I can't see any add-ins installed that have this loaded. If there an
application level event that happens every time a file is opened. I don't
know where to look to see where it would be installed. I would think it is
similar to workbook_open event, which is stored in a specific file. Where
would this be stored as an event for all xls files? Thanks for any
suggestions.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default Why does code run evry time any xls file is opened

To see if there is a macro problem, set you Security Level to High and then
start Excel. You will get a warning if a macro is trying to execute.

The macro may b in your Personal.xls, for example.
--
Gary''s Student - gsnu200812


"mcambrose" wrote:

When I first startup excel it runs a subroutine that asks me to select a
printer? I can't see any add-ins installed that have this loaded. If there an
application level event that happens every time a file is opened. I don't
know where to look to see where it would be installed. I would think it is
similar to workbook_open event, which is stored in a specific file. Where
would this be stored as an event for all xls files? Thanks for any
suggestions.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default Why does code run evry time any xls file is opened

I think I found what is going on. If I don't have a default printer set, then
the listbox comes up to select a printer. This may be something built into
Excel and not something I added. THanks for the suggestion.

"Gary''s Student" wrote:

To see if there is a macro problem, set you Security Level to High and then
start Excel. You will get a warning if a macro is trying to execute.

The macro may b in your Personal.xls, for example.
--
Gary''s Student - gsnu200812


"mcambrose" wrote:

When I first startup excel it runs a subroutine that asks me to select a
printer? I can't see any add-ins installed that have this loaded. If there an
application level event that happens every time a file is opened. I don't
know where to look to see where it would be installed. I would think it is
similar to workbook_open event, which is stored in a specific file. Where
would this be stored as an event for all xls files? Thanks for any
suggestions.

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
Check a sheet each time file opened? Don Excel Discussion (Misc queries) 1 February 24th 09 06:27 PM
how do i have a cell number increase by 1 each time file opened DJbase Excel Discussion (Misc queries) 1 May 25th 08 04:17 AM
Macro to insert rows evry other time JoiSim Excel Discussion (Misc queries) 5 April 25th 07 03:08 PM
code to check file size everytime an Excel file is opened Kaiser[_2_] Excel Programming 2 July 30th 06 05:46 PM
Running code before any file is opened/saved Bill Schanks Excel Programming 2 April 14th 06 06:01 PM


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