+ Reply to Thread
Results 1 to 6 of 6

Insert Row on Multiple Sheets - Copy Formulas

  1. #1
    Registered User
    Join Date
    10-19-2012
    Location
    West Chester, Ohio
    MS-Off Ver
    Excel 2003
    Posts
    5

    Insert Row on Multiple Sheets - Copy Formulas

    Hi all,

    I'm new to the forum and have searched and found similar problems, but no solution meets my specific need. I have 3 sheets in a workbook which all follow an identical format (customer name in column A, and months in columns to the right (currently B through P - but this will increase with time). All of the names across the 3 sheets are in an identical order, but whenever I need to add a customer (which would be accomplished through inserting a row), I would like the other two sheets to update with the same customer name and copy the formulas in column B and right down one row to the newly inserted row. One caveat, the formula that the macro would copy is one that I created (it is not standard in excel - the formula adds only BOLD numbers)...

    My sheet names are "Done & In CORD" "Done Not Received" and "Opportunity"

    Here was my first crack at it...

    Please Login or Register  to view this content.
    Thanks for the help!
    -Matt
    Last edited by Cutter; 10-20-2012 at 05:24 PM. Reason: Added code tags

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Insert Row on Multiple Sheets - Copy Formulas

    A couple of questions:

    1. Are you adding the new customer to the bottom of the list, or are you inserting it into a specific spot in the sheet?
    2. Do the other 2 sheets need to have the customer put into the same row?
    3. Why do you have your macro only going to column D, ie number 4, in this situation? Is it for a reason?
    4. Have you thought about a userform to prompt you for a customer name and what row to insert at? Might work nicely for you.

    A couple of your workbook might be best in this situation since there may be some confusion. Thanks.

  3. #3
    Registered User
    Join Date
    10-19-2012
    Location
    West Chester, Ohio
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Insert Row on Multiple Sheets - Copy Formulas

    1. No, the customer could be added anywhere throughout the list (any row) Ideally the customers would be in alphabetical order. It may be the bottom, but not necessarily.
    2. Yes, the row needs to go exactly where it went (on whichever sheet the row was inserted on)
    3. Not for any reason other than I probably messed it up.. I'm not that great at macros as you can see...
    4. A userform would be GREAT and I agree it would work nicely.

    One last comment, the customers are obviously not Customer 1, 2, 3 etc.. They would be Names, not Numbers.
    Attached Files Attached Files
    Last edited by mattmar09xu; 10-19-2012 at 02:33 PM. Reason: Clarity

  4. #4
    Registered User
    Join Date
    10-19-2012
    Location
    West Chester, Ohio
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Insert Row on Multiple Sheets - Copy Formulas

    Bump no response

  5. #5
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Insert Row on Multiple Sheets - Copy Formulas

    ExampleWorkbook2.xlsm

    Sorry for the delay. Building a userform is time consuming. I have attached the file with the userform and a macro to show it. You can run the macro myForm1 to start the user form (or you could just set it to a command button). I have also posted the userform code for others to see if they don't want to actually open the workbook. Let me know if something doesn't work, i rushed it through without a lot of testing and may have a glitch.

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    10-19-2012
    Location
    West Chester, Ohio
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Insert Row on Multiple Sheets - Copy Formulas

    You my good friend, are all that is immortal in excel. Thank you SO much. Working great right now!

+ Reply to Thread

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