+ Reply to Thread
Results 1 to 5 of 5

Adjustment of Macro to include column added to invoicing template

  1. #1
    Registered User
    Join Date
    05-03-2012
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    28

    Question Adjustment of Macro to include column added to invoicing template

    Morning,

    Quite a few months ago I got some help from here with the following code -

    Please Login or Register  to view this content.
    This basically paste a blank invoicing line ready for filling in. It works great.

    The problem is now I want to add an extra column to the invoicing and can't work out how to get it included within the macro.

    Can anyone please help?

    Thanks
    Last edited by neil__g; 11-29-2012 at 07:31 AM.

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Small adjustment of macro needed

    Set TargetCell = Range("H1:L" & Cells(Rows.Count, "h").End(xlUp).Row).Find("row*", , xlValues, xlPart)
    If solved remember to mark Thread as solved

  3. #3
    Registered User
    Join Date
    05-03-2012
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    28

    Re: Small adjustment of macro needed

    Patel,

    Thanks for the reply.

    I have tried it but it doesn't work, the copied section actually runs from A - V (W with the extra column added)

  4. #4
    Registered User
    Join Date
    05-03-2012
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    28

    Re: Small adjustment of macro needed

    For Ease attached is a blank version of the form.

    As you can see pressing the insert new row on invoicing adds a new row but doesn't add the newly inserted "fee remaining" column. Master Sheet.xlsm

  5. #5
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Adjustment of Macro to include column added to invoicing template

    why this code Set TemplateRng = Sheets("invoice").UsedRange ?
    the correct name is InvoiceSheet, not invoice

+ 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