Results 1 to 3 of 3

Dynamically create sheets with similar names and copy cells on row based on matched cus#

Threaded View

drewship Dynamically create sheets... 01-11-2016, 10:45 AM
drewship Re: Dynamically create sheets... 01-11-2016, 12:37 PM
drewship Re: Dynamically create sheets... 01-12-2016, 07:33 AM
  1. #1
    Forum Contributor
    Join Date
    04-30-2009
    Location
    USA
    MS-Off Ver
    Excel 2016
    Posts
    496

    Dynamically create sheets with similar names and copy cells on row based on matched cus#

    Hello all. At the title indicates, I need help with 2 parts of my project. The first is that I have some customers that have similar names and the current code cannot validate and create additional sheets after the first one has been created. For example: Richard_John_Worthington and Richard_John_Worthington1. The code will create the first one correctly and populate it with the correct data but when the second one is processed in the code, it throws a Type Mismatch while checking to see if the name already exists.


    My second problem is I need to match the customer number on ZZ_Maintenance to the one currently being processed on 1_ImportedData, then cells in column D to F on ZZ_Maintenance for the matched customer number need to be pasted on the new customer sheet in D3. The examples I have seen copy the entire row but I could not find any that would do a range of cells in the row. I am using conditional formatting in customer rows D2 to F2 to compare to the values in D2 to F3 but each customer may have their own values for the items so I can't do this manually for each new customer. I think I did the conditional formatting correctly to check the values for the entire row, but if somebody could verify that would be great!

    Thanks,
    Andrew
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Clear dynamic named sheet, compare cells from 2 sheets, copy all matched rows to dynamic s
    By drewship in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 12-15-2015, 12:31 PM
  2. [SOLVED] Create Sheets and copy rows to the Sheets if cell contains sheet names
    By CRIMEDOG in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-08-2015, 08:06 AM
  3. Dynamically Show the Summary Sheet Cells Based on Other Sheets
    By Kandavalli.Kiran in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-07-2015, 03:01 AM
  4. Replies: 3
    Last Post: 10-01-2014, 01:49 PM
  5. [SOLVED] Copy adjacent cells based on matched cell criteria
    By asdfwqefwe3 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-26-2013, 02:26 AM
  6. Replies: 1
    Last Post: 08-25-2005, 07:05 PM

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