View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Bob Phillips[_6_] Bob Phillips[_6_] is offline
external usenet poster
 
Posts: 11,272
Default Macro to change Macro code?

Yep, all explained at http://www.cpearson.com/excel/vbe.htm

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Kaisies" wrote in message
...
Background:

I work for fazolis, franchise. I set up an excel worksheet that helps
people count food on hand, and calculates what kind of food they are

losing.
Everything is working great...

I have been using macros to update information on the sheet. I just send
out a ~300KB excel file that Workbook().Activates to the other Workbook

and
does it stuff. However, with this I can not figure out how to change

Macro
code. I wanted to remove a few lines of code, and add a few lines of code

to
CommandButtons on various worksheets. I have attempted to use the

SendKeys()
command.. but, we all know how "fun" that can be and I'd rather not do it
that way.

Is there a way to change VBA code IN a Macro? Thanks in advance for the
help!...

-Kaisies