Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default How to access Visual Basic Editor via VBA?

Hello,

I have about 100 excel files which I need to modify. I want to include
a Workbook_Open() script on each and every file. Instead of doing this
manually, is there a way to programmatically do it?

I know how to use VBA to open every file, but how do I access the VB
editor environment and "paste" my Workbook_Open() code in each file?


Any advice would be appreciated.

Thanks
H

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default How to access Visual Basic Editor via VBA?

Hi Henry

See this site
http://www.cpearson.com/excel/vbe.aspx

--

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


"Henry" wrote in message ...
Hello,

I have about 100 excel files which I need to modify. I want to include
a Workbook_Open() script on each and every file. Instead of doing this
manually, is there a way to programmatically do it?

I know how to use VBA to open every file, but how do I access the VB
editor environment and "paste" my Workbook_Open() code in each file?


Any advice would be appreciated.

Thanks
H

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
Opening Visual Basic Editor SteveG[_5_] Excel Discussion (Misc queries) 0 March 19th 09 01:46 PM
Visual Basic Editor Ron Rueter Excel Discussion (Misc queries) 3 October 28th 08 02:48 PM
Visual basic editor Answerfactory Excel Discussion (Misc queries) 3 October 9th 06 09:13 PM
Can I run Visual Basic procedure using Excel Visual Basic editor? john.jacobs71[_2_] Excel Programming 3 December 26th 05 02:22 PM
VBE(Visual Basic Editor) Keep focus in VBE phil[_4_] Excel Programming 4 August 11th 05 12:25 AM


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