View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Don Guillett[_4_] Don Guillett[_4_] is offline
external usenet poster
 
Posts: 2,337
Default Recording a macro within existing macro.

It seems, for you, that may be the best approach. Or you could just call the
new macro
sub doit()
beginning of code
call newcode
rest of code
end sub

--
Don Guillett
SalesAid Software

"BBQDad" wrote in message
...
Let us assume that we have some existing VBA code we have either written

or
recorded.

Now, we want to record some actions (generate additional code) at a

specific
point in the existing code.

Can this be accomplished in any way other than recording a new macro and
then cutting and pasting the newly generated code into the existing code?

I apologize if this is off-topic; it seems to be more closely related to
programming than to anything else.

Thanks in advance for your advice.
--- BBQDad