+ Reply to Thread
Results 1 to 7 of 7

Erase Code

Hybrid View

  1. #1
    Chip Pearson
    Guest

    Re: Erase Code

    See www.cpearson.com/excel/vbe.htm


    --
    Cordially,
    Chip Pearson
    Microsoft MVP - Excel
    Pearson Software Consulting, LLC
    www.cpearson.com


    "Bill" <Bill@discussions.microsoft.com> wrote in message
    news:6108BB86-E61E-4CA7-94F3-31E1AF046074@microsoft.com...
    >I have a spreadsheet that runs code when it opens to populate
    >the data. I
    > need it to automatically erase the code once complete so that
    > when I save the
    > workbook with a new name; the code does not rerun when
    > management opens the
    > workbook to view the data.




  2. #2
    Bill
    Guest

    Re: Erase Code

    I am getting a object not define error. Can you help?

    "Chip Pearson" wrote:

    > See www.cpearson.com/excel/vbe.htm
    >
    >
    > --
    > Cordially,
    > Chip Pearson
    > Microsoft MVP - Excel
    > Pearson Software Consulting, LLC
    > www.cpearson.com
    >
    >
    > "Bill" <Bill@discussions.microsoft.com> wrote in message
    > news:6108BB86-E61E-4CA7-94F3-31E1AF046074@microsoft.com...
    > >I have a spreadsheet that runs code when it opens to populate
    > >the data. I
    > > need it to automatically erase the code once complete so that
    > > when I save the
    > > workbook with a new name; the code does not rerun when
    > > management opens the
    > > workbook to view the data.

    >
    >
    >


  3. #3
    Chip Pearson
    Guest

    Re: Erase Code

    You need a reference to the extensibility library. In VBA, go to
    the Tools menu, choose References, and scroll down until you find
    "Microsoft Visual Basic For Applications Extensibility Object
    Library". Put a check next to this item.


    --
    Cordially,
    Chip Pearson
    Microsoft MVP - Excel
    Pearson Software Consulting, LLC
    www.cpearson.com


    "Bill" <Bill@discussions.microsoft.com> wrote in message
    news:4EF7A306-7580-4184-B7C7-64BC9F534E74@microsoft.com...
    >I am getting a object not define error. Can you help?
    >
    > "Chip Pearson" wrote:
    >
    >> See www.cpearson.com/excel/vbe.htm
    >>
    >>
    >> --
    >> Cordially,
    >> Chip Pearson
    >> Microsoft MVP - Excel
    >> Pearson Software Consulting, LLC
    >> www.cpearson.com
    >>
    >>
    >> "Bill" <Bill@discussions.microsoft.com> wrote in message
    >> news:6108BB86-E61E-4CA7-94F3-31E1AF046074@microsoft.com...
    >> >I have a spreadsheet that runs code when it opens to populate
    >> >the data. I
    >> > need it to automatically erase the code once complete so
    >> > that
    >> > when I save the
    >> > workbook with a new name; the code does not rerun when
    >> > management opens the
    >> > workbook to view the data.

    >>
    >>
    >>




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1