Results 1 to 4 of 4

VB Excel Macro That Edits Itself Code

Threaded View

ashleys.nl VB Excel Macro That Edits... 12-08-2011, 02:37 PM
Steffen Thomsen Re: VB Excel Macro That Edits... 12-08-2011, 05:46 PM
Leith Ross Re: VB Excel Macro That Edits... 12-08-2011, 09:20 PM
ashleys.nl Re: VB Excel Macro That Edits... 12-09-2011, 08:15 AM
  1. #1
    Registered User
    Join Date
    09-05-2011
    Location
    St. John's, Canada
    MS-Off Ver
    Excel 2010
    Posts
    70

    VB Excel Macro That Edits Itself Code

    Hey Everyone,

    I haven't decided to tackle this yet, but I'm just wondering if it is possible to create an Excel VB Macro that can alter/edit the code of another Macro? Maybe there's another way around it, but this is the scenario that has promted me to think about this:

    Each day I recieve production reports. At the end of each month I pull certain data from these reports to create a monthly report. Sometimes the format of these reports are different, as a result I've had to construct an extensive VB macro that searches for various rows and columns, and does several complicated checks on each daily report to ensure that the data I am pulling is correct.

    As it stands right now Macro 1 is pulling information about Items A & B, but I know new items will be added to these reports. So lets say in 2 months Item C is added, then D, and eventually I have new items being added on a monthly basis.

    Is it possible to create a macro that alters the original Macro 1 in such a way that it will begin to pull the new information on new items?

    Thanks to everyone for your input.
    Last edited by ashleys.nl; 12-09-2011 at 08:16 AM.

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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