+ Reply to Thread
Results 1 to 3 of 3

VB Code to Match the text and copy to another sheet

  1. #1
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    VB Code to Match the text and copy to another sheet

    Hello:

    Please refer to attached file.
    First, please refer to Sheet1.
    I will have Store Name in Cell S1 and date in Cell T1.
    (Remember that Store name and Date is variable and it is coming from other source.
    So i need VB Code (Not Formula) to match the Store Name from Sheet1 and match in Sheet2, Cell F4:F11. Once it finds the match, copy the date from sheet1 cell T1 to corresponding cell in sheet2 as shown.


    Let me know if you have any questions.
    Thanks.
    Attached Files Attached Files
    Last edited by rizmomin; 11-23-2014 at 07:25 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    Re: VB Code to Match the text and copy to another sheet

    Hello:

    Please refer to attached file.
    I have come up so that this is come easy.
    Now I will have Sheet1 Cell U1 will have the actual cell location for Sheet2 paste.
    So now for example:
    Would need a code to copy the Range("S1:T1") from sheet1 and paste it at Sheet2 @ cell F8 (This is in Sheet1 Range("U1:U1").

    I hope this is clear.


    Let me know if you have any questions.
    Thanks.
    Riz
    Attached Files Attached Files

  3. #3
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    Re: VB Code to Match the text and copy to another sheet

    Hello Guys:
    I have resolved the problem my self with the below code.
    Thanks a lot for looking.

    Please Login or Register  to view this content.
    Riz

+ 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] Formula or code to only copy text in bold from sheet 1 to sheet 2
    By Excelfail in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-09-2014, 12:21 AM
  2. Replies: 0
    Last Post: 10-25-2012, 03:38 PM
  3. Replies: 11
    Last Post: 10-14-2012, 01:03 PM
  4. VBA Code to open text files and copy information over to an excel sheet
    By kenadams378 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-03-2012, 12:18 PM
  5. Match column from sheet 2 to sheet 1 and copy rows if match exists.
    By GravityInvert in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-28-2008, 01:42 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