Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
CLR CLR is offline
external usenet poster
 
Posts: 594
Default Global macro insertion

Hi All......

Is it possible with VBA, to insert a pre-recorded macro into multiple Excel
files (all) in a given directory, automatically? And, given that AutoCAD
understands VBA also, could the same be done to a group of AutoCAD files?

And, if possible, can the inserted macro be of the Auto-run type, so that it
will start and run the next time each file is opened?

TIA
Vaya con DIos,
Chuck, CABGx3



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Global macro insertion

Look at Chip Pearson's page on working with code using code:

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

You can make it a macro named Auto_Open if you want or create a
workbook_open event.

I can't say anything about VBA in AutoCAD.

--
Regards,
Tom Ogilvy

CLR wrote in message
...
Hi All......

Is it possible with VBA, to insert a pre-recorded macro into multiple

Excel
files (all) in a given directory, automatically? And, given that

AutoCAD
understands VBA also, could the same be done to a group of AutoCAD files?

And, if possible, can the inserted macro be of the Auto-run type, so that

it
will start and run the next time each file is opened?

TIA
Vaya con DIos,
Chuck, CABGx3





  #3   Report Post  
Posted to microsoft.public.excel.programming
CLR CLR is offline
external usenet poster
 
Posts: 594
Default Global macro insertion

Thanks Tom, ......
I've printed out all 11 pages of Chip's article, and will try to digest it
today while I'm waiting in line for my Abdominal Aortic
Screening........hopefully I'll be able to understand it.......<g

Vaya con Dios,
Chuck, CABGx3



"Tom Ogilvy" wrote in message
...
Look at Chip Pearson's page on working with code using code:

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

You can make it a macro named Auto_Open if you want or create a
workbook_open event.

I can't say anything about VBA in AutoCAD.

--
Regards,
Tom Ogilvy

CLR wrote in message
...
Hi All......

Is it possible with VBA, to insert a pre-recorded macro into multiple

Excel
files (all) in a given directory, automatically? And, given that

AutoCAD
understands VBA also, could the same be done to a group of AutoCAD

files?

And, if possible, can the inserted macro be of the Auto-run type, so

that
it
will start and run the next time each file is opened?

TIA
Vaya con DIos,
Chuck, CABGx3







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
Row Insertion mlockman Excel Discussion (Misc queries) 0 April 17th 09 03:33 PM
Global Macro CAS Excel Discussion (Misc queries) 1 June 28th 07 07:16 PM
Global Macro Adding rows or colums to many Excel files at the same Bryan Excel Discussion (Misc queries) 1 January 5th 07 10:29 PM
Changing Cell Reference in a macro on global base ashish128 Excel Discussion (Misc queries) 2 April 20th 06 01:16 PM
Global Macro Bo Rasmussen New Users to Excel 4 September 12th 05 03:48 PM


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