+ Reply to Thread
Results 1 to 2 of 2

clear used area, then copy related fields if match is made

  1. #1
    Forum Contributor
    Join Date
    04-30-2009
    Location
    USA
    MS-Off Ver
    Excel 2016
    Posts
    496

    clear used area, then copy related fields if match is made

    Hello. Please see attached file. This file will create customers if they do not exist and is a smaller version of the original so I left in the code of the original to help show what is being done. Manual changes to the 1_ImportedData and ZZ_Maintenance sheets need to be updated on the corresponding customer sheet and corresponding customer row on the 2_Summary sheets if they already exist.

    So basically, I need the code to look to see if a sheet exists, if it does, copy the corresponding row of numbers from the ZZ_Maintenance to the customer sheet starting in D4, clear the used area starting in A5 on the customer sheet, copy the corresponding data from 1_ImportedData to A5 on the customer sheet, then copy the values from the customer sheet D1 and D3, E1 and E3, F1 and F3, G1 and G3 to the corresponding fields on the matching customer row on 2_Summary.

    Thanks.

    Attachment can be downloaded from the Forum here:
    HTML Code: 
    Attached Files Attached Files
    Last edited by drewship; 03-15-2016 at 12:10 PM.

  2. #2
    Forum Contributor
    Join Date
    04-30-2009
    Location
    USA
    MS-Off Ver
    Excel 2016
    Posts
    496

    Re: clear used area, then copy related fields if match is made

    Can anyone help?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Clear selection when another choice made in dropdown list.
    By Crispy85 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-09-2015, 10:51 AM
  2. Replies: 0
    Last Post: 11-21-2014, 12:34 PM
  3. [SOLVED] Adapt VBA code to clear the related cells instead of update
    By michelle 1 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-26-2013, 05:50 AM
  4. Can query results be moved to one row for related fields?
    By jgomez in forum Access Tables & Databases
    Replies: 1
    Last Post: 11-01-2012, 10:28 AM
  5. [SOLVED] Area between weird curves made out of lines (math problem?)
    By dejhantulip in forum Excel General
    Replies: 4
    Last Post: 04-04-2012, 07:07 PM
  6. reg. sorting of to items and their related fields
    By xpushkar in forum Excel General
    Replies: 7
    Last Post: 07-22-2011, 06:11 AM
  7. Moving Related Fields
    By Manager that needs help in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-15-2006, 12:15 AM

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