+ Reply to Thread
Results 1 to 20 of 20

Looking for Pair of Values in Same Column - VBA

Hybrid View

  1. #1
    Registered User
    Join Date
    10-18-2018
    Location
    CA, U.S.A
    MS-Off Ver
    2010
    Posts
    10

    Re: Looking for Pair of Values in Same Column - VBA

    Hi Akuini,

    Thanks for your help. Is there a way you can keep adding to the last available row in Column C. If I import new values to Column H, and run the code, the values in Column C are all replaced. I'd like to keep adding values to Column C. I've provided a picture below as an example. Thanks!Capture12.PNG

  2. #2
    Valued Forum Contributor
    Join Date
    02-02-2016
    Location
    Indonesia
    MS-Off Ver
    Office 365
    Posts
    1,028

    Re: Looking for Pair of Values in Same Column - VBA

    Quote Originally Posted by awsexcel123 View Post
    Hi Akuini,

    Thanks for your help. Is there a way you can keep adding to the last available row in Column C. If I import new values to Column H, and run the code, the values in Column C are all replaced. I'd like to keep adding values to Column C. I've provided a picture below as an example. Thanks!Attachment 594712
    When you import new value to column G:H do you keep the old value or delete it?
    If you keep it then how do we know in which row the new value added in order to make the code start searching from there?
    Last edited by Akuini; 10-18-2018 at 11:05 PM.

  3. #3
    Registered User
    Join Date
    10-18-2018
    Location
    CA, U.S.A
    MS-Off Ver
    2010
    Posts
    10

    Re: Looking for Pair of Values in Same Column - VBA

    When I import new values to column G:H, I delete all the old values and import the new ones. Theoretically, after running the code, new values from Column G will be copied to the next available row in Column C. Your code from before worked exactly how I want it to, but it doesn't let me import new G:H values and add to Column C, it replaces the values instead.

    Thank you for all your help Akuini! I hope you can help me with this.

+ 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] Convert Single Pair of Columns to 3 Column (Pair) List
    By kencoburn in forum Excel General
    Replies: 7
    Last Post: 03-04-2017, 01:43 PM
  2. When first pair are matched, copy entry beside the column to another column
    By seanryano in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-22-2015, 11:14 AM
  3. From column A and column B data into 1 line pair
    By vutienhp in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-31-2015, 11:40 AM
  4. Replies: 6
    Last Post: 02-04-2014, 12:27 PM
  5. Replies: 2
    Last Post: 01-15-2006, 05:10 PM
  6. [SOLVED] pair single column to multiple column
    By Ross in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-05-2005, 10:05 PM
  7. [SOLVED] pair single column to multiple column
    By Ross in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-01-2005, 06:05 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