Results 1 to 4 of 4

VB Code to Copy & Paste based on Excel Column Value?

Threaded View

  1. #1
    Registered User
    Join Date
    04-12-2012
    Location
    Wisconsin
    MS-Off Ver
    Excel 2007
    Posts
    4

    VB Code to Copy & Paste based on Excel Column Value?

    Hello,
    I am needing help with creating a macro to sort a document downloaded from PeopleSoft each morning (read only), and placed into an excel template document based on a column's value. I have attached an example excel document ("MacroHelp.xlsm") with data I am needing to extract.

    As you can see in column E ("Method"), there will be either 'ACH' or CHK'.

    If column E shows 'ACH', I would like to copy all of the data (Column A through Column G) and place it into a different document already created (see attachment 'T&E - ACH Template.xls').

    If column E shows 'CHK', I would like to copy all of the data (Column A through Column G) and place it into a different document already created (see attachment 'T&E - Check Template.xls').

    These templates are reused everday. Meaning, once these templates are filled in correctly with their data, I print and close without saving.

    Thanks in advance for any help you can offer!
    Attached Files Attached Files

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