+ Reply to Thread
Results 1 to 3 of 3

to pull data from one sheet and paste specific on another.

  1. #1
    Registered User
    Join Date
    08-14-2013
    Location
    Kentucky, United States
    MS-Off Ver
    03,07,10
    Posts
    61

    to pull data from one sheet and paste specific on another.

    I have a workbook that I can not upload but I am having trouble starting my code under the following pretenses. The data is pulled from the BPA (Sheet 2) tab and inserted into a patteren based on certian features into the BPA Data Loader sheet (Sheet 1)

    Based on a duplicate supplier, site or buyer the header line can not be duplicated. If any of the three are diffrent we move to the next supplier. If all three are duplicate then the proper header cells are filled with the information. We then we move to the next row to enter the part number information moving to each row till the supplier, site or buyer changes again.

    The output to the BPA Data Loader sheet (Sheet 1) should look like this:

    tab HOERNER BOXES tab TUPELO101 tab tab Monogram Refrigeration LLC tab tab Rasche, Matthew Joseph tab tab tab \%O%
    *SL(5) tab tab 7519 tab tab tab *SL(2) EACH tab 0.628 tab tab tab tab tab tab tab tab tab tab tab tab tab tab tab tab tab tab \Bl tab 8 \%O *DN
    *SL(5) tab tab 75093 tab tab tab *SL(2) EACH tab 0.2466516 tab tab tab tab tab tab tab tab tab tab tab tab tab tab tab tab tab tab \Bl tab 8 \%O *DN
    *SL(5) tab tab 175D5920P002 tab tab tab *SL(2) EACH tab 0.1681398 tab tab tab tab tab tab tab tab tab tab tab tab tab tab tab tab tab tab \Bl tab 8 \%O *DN
    *SL(5) tab tab 203C2475P004 tab tab tab *SL(2) EACH tab 0.0364 tab tab tab tab tab tab tab tab tab tab tab tab tab tab tab tab tab tab \Bl tab 8 \%O *DN
    *SL(5) tab tab 203C4510P001 tab tab tab *SL(2) EACH tab 0.0270145 tab tab tab tab tab tab tab tab tab tab tab tab tab tab tab tab tab tab \Bl tab 8 \%O *DN
    *SL(5) tab tab 299C1108P001 tab tab tab *SL(2) EACH tab 0.00954 tab tab tab tab tab tab tab tab tab tab tab tab tab tab tab tab tab tab \Bl tab 8 \%O *DN
    *SL(5) tab tab 644334P01 tab tab tab *SL(2) EACH tab 0.0287702 tab tab tab tab tab tab tab tab tab tab tab tab tab tab tab tab tab tab \Bl tab 8 \%O *DN
    *SL(5) tab tab 644865P01 tab tab tab *SL(2) EACH tab 0.0326 tab tab tab tab tab tab tab tab tab tab tab tab tab tab tab tab tab tab \Bl tab 8 \%O *DN
    \^S *SL(5) \%A *SL(5) \%K *SL(5) \{F4}
    every code I try comes out wrong. This is a sample of what I am working on now. I would prefer a before save event but I have it set as command button for now.

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    01-23-2013
    Location
    USA
    MS-Off Ver
    Microsoft 365 aka Office 365
    Posts
    3,863

    Re: to pull data from one sheet and paste specific on another.

    Hi,

    I imagine you either solved this or gave up a long time ago. I have no idea what you're trying to do, but even so, I think your code should look something like this:
    Please Login or Register  to view this content.

    The following changes might improve the code and produce less errors when trying to write the code:
    Please Login or Register  to view this content.
    Lewis

  3. #3
    Registered User
    Join Date
    08-14-2013
    Location
    Kentucky, United States
    MS-Off Ver
    03,07,10
    Posts
    61

    Re: to pull data from one sheet and paste specific on another.

    Yes I have solved this however I will be able to use this code for a new project I am working on. Thank you very much for your help. I am sorry I did not post the resolution when this issue was solved.

+ 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. pull data from two sheet and paste into master sheet with desired column's only
    By breadwinner in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-13-2014, 03:39 AM
  2. Replies: 0
    Last Post: 05-21-2013, 03:09 PM
  3. Pull data from specific cells on multiple worksheets onto one master sheet
    By WorkforceMedia in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-07-2013, 03:25 AM
  4. Pull data from a specific sheet that matches cell value on Input Sheet
    By vaciaravino in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-12-2012, 08:38 PM
  5. Replies: 4
    Last Post: 08-29-2012, 10:32 AM

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