+ Reply to Thread
Results 1 to 3 of 3

Simplification of macro code

  1. #1
    Registered User
    Join Date
    07-14-2009
    Location
    London,England
    MS-Off Ver
    Excel 2003 and Excel 2007
    Posts
    17

    Simplification of macro code

    Hi there

    I am busy designing the workbook (that I have attached), that, through the use of the 'master' worksheet, creates a copy of the reciept as well as update the individual client account with the data generated by the 'master' reciept. The idea being that I will only need to edit my 'master' copy, and for the workbook to complete the job for me.

    This has been achieved in the workbook I have attached, however, as you will see by the code, to simply do this for one account results in a large amount of code. There will be 80+ clients once the full client account list is included...

    Can anybody suggest a method of looping the code to complete all worksheets, regardless how many there are, as long as the account is referenced in the 'master' reciept?

    Thank you for any help in advance. BTW: please note if you test it, each worksheet is saved into an individual file currently set as c:\temp. Also there is an built-in protection that demands that the total quantity amount cell = the amount cell.

    I really would appreciate the help
    Regards,

    PVANS
    Attached Files Attached Files
    Last edited by PvanS; 07-17-2009 at 09:00 AM. Reason: fixed save file destination to c:\temp

  2. #2
    Forum Expert
    Join Date
    08-27-2008
    Location
    England
    MS-Off Ver
    2010
    Posts
    2,561

    Re: Simplification of macro code

    Please post this in the Excel programming forum (you'll get a better response there anyway).

    CC

  3. #3
    Registered User
    Join Date
    07-14-2009
    Location
    London,England
    MS-Off Ver
    Excel 2003 and Excel 2007
    Posts
    17

    Re: Simplification of macro code

    Sorry about posting it in the wrong place,

    I see it has been moved. Thank you very much.

    Hope someone will be able to help

    Regards

+ 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