vba on vba

  • Thread starter Thread starter R.VENKATARAMAN
  • Start date Start date
R

R.VENKATARAMAN

sorry for this strange question. Is it possible to write a vba procedure to
change another sub. for e.g. in a sub I want to replace certain text or
number by another text or number particularly when this particular text or
number occurs a number of times.
 
May be you could use one macro (macro1) to "read" when the neede
condition has been reached and "write" the desired values in th
WorkSheet. Then use the values as "input" in the other macro(macro2).


Hope this help.

Regards

jose lui
 
thanks. but how to write a macro to <read> or <write> second macro without
executing the second macro.
 
thank you Mr. Harald Staff. shall look into Pearsons web page.
 
It can be done, as is shown at www.cpearson.com/excel/vbe.htm, but you
really should consider the other approach. Changing code dynamically is
likely to lead to problems, and will make debugging very difficult in
complex code.

--

HTH

RP

R.VENKATARAMAN said:
thanks. but how to write a macro to <read> or <write> second macro without
executing the second macro.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top