hi,
is it possible to update an existing macro by running another macro?
eg. run macro A to edit the program/content/values in macro B.
hi,
is it possible to update an existing macro by running another macro?
eg. run macro A to edit the program/content/values in macro B.
It is possible, but it is not a good idea. It is far better to code or each possibility, and then have a switch that controls which possibility is actually run.
____________________________________________
Nihil simul inventum est et perfectum
Abusus non tollit usum
Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
James Thurber
thanks xld,
i need to change a value in many workbook macro frequently, so i was thinking about automating it.
Can you show me any online example/tutorial/script as i failed to search for one.
It is not clear what editing you want to do, but Chip has a lot of info at http://www.cpearson.com/Excel/VBE.aspx
____________________________________________
Nihil simul inventum est et perfectum
Abusus non tollit usum
Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
James Thurber
thanks xld