View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Dave Peterson[_3_] Dave Peterson[_3_] is offline
external usenet poster
 
Posts: 2,824
Default Personal.xls only partially effective?

It sounds like you want not just workbook events, but application events.

Take a look a Chip Pearson's site for lots more information (and a sample
workbook):

http://www.cpearson.com/excel/AppEvent.htm

Randall Arnold wrote:

I have a need to apply macros to older spreadsheets to make them current
(update data). Everything I've read says to place the macros in a file
called personal.xls and place this spreadsheet in the XLSTART folder on a
given PC. I did this, and all of my VBA code works-- but ONLY for the
default workbook loaded with Excel. The subroutines (Workbook_Open,
Workbook_NewSheet, etc) do not fire for any subsequently opened workbooks.

This defeats the purpose. Does anybody know a solution? Essentially, I
need certain macros to run on ALL workbooks opened.

Thanks all,

Randall Arnold


--

Dave Peterson