Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Macro to Modify Another Macro

I need to comment out a line in a macro that appears in
several hundred woorkbooks. Can I write a macro that will
do this? How?

I don't mind doing this one workbook at a time. In other
words, when an unmodified workbook is opened, the user
could run a macro that would make the appropriate
modifications.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Macro to Modify Another Macro

Look at Chip Pearson's page on programming the VBE

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

--

Regards,
Tom Ogilvy

"John" wrote in message
...
I need to comment out a line in a macro that appears in
several hundred woorkbooks. Can I write a macro that will
do this? How?

I don't mind doing this one workbook at a time. In other
words, when an unmodified workbook is opened, the user
could run a macro that would make the appropriate
modifications.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 103
Default Macro to Modify Another Macro

On Fri, 30 Jan 2004 13:01:18 -0800, "John"
wrote:

I need to comment out a line in a macro that appears in
several hundred woorkbooks. Can I write a macro that will
do this? How?

I don't mind doing this one workbook at a time. In other
words, when an unmodified workbook is opened, the user
could run a macro that would make the appropriate
modifications.


I suggest taking a look at Chip Pearson's site. Specifically:

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


---------------------------------------------------------
Hank Scorpio
scorpionet who hates spam is at iprimus.com.au (You know what to do.)
* Please keep all replies in this Newsgroup. Thanks! *
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,236
Default Macro to Modify Another Macro

John,

There's some 'search replace code' on my website which could assist you with
this task.


--
Rob van Gelder - http://www.vangelder.co.nz/excel


"John" wrote in message
...
I need to comment out a line in a macro that appears in
several hundred woorkbooks. Can I write a macro that will
do this? How?

I don't mind doing this one workbook at a time. In other
words, when an unmodified workbook is opened, the user
could run a macro that would make the appropriate
modifications.



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
I need to modify my macro ... Dr. Darrell Excel Discussion (Misc queries) 0 February 24th 10 07:21 PM
Modify A Macro carl Excel Worksheet Functions 1 September 27th 07 08:39 PM
Modify a Macro Carl Excel Worksheet Functions 1 October 28th 06 10:32 AM
Help to modify macro please Brian Tozer Excel Programming 2 December 28th 03 08:24 PM
Macro to modify a Macro? Bob Moister Excel Programming 2 October 8th 03 05:50 PM


All times are GMT +1. The time now is 06:36 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"