Consulting

Results 1 to 4 of 4

Thread: Sleeper: Copy and paste

  1. #1
    VBAX Regular
    Joined
    Mar 2005
    Posts
    17
    Location

    Sleeper: Copy and paste

    Hello all

    Sorry I have searched for the code around the site, but I couldnt find what I was looking for. Basically I have three spreadsheets, one with a list of goods on and a report that i get sent from my agent, and a team spreadsheet. What i need to do, is simply filter everything with a specific code (say everything with code MA in column z), and to cut and paste this 'MA' selection into another centralized spreadsheet (ie to paste this selection at the first available line).

    Can anyone help?

    Cheers

    Mike

  2. #2
    VBAX Expert
    Joined
    Feb 2005
    Posts
    929
    Location
    Quote Originally Posted by m40wen
    Hello all

    Sorry I have searched for the code around the site, but I couldnt find what I was looking for. Basically I have three spreadsheets, one with a list of goods on and a report that i get sent from my agent, and a team spreadsheet. What i need to do, is simply filter everything with a specific code (say everything with code MA in column z), and to cut and paste this 'MA' selection into another centralized spreadsheet (ie to paste this selection at the first available line).

    Can anyone help?

    Cheers

    Mike
    If I understand your need correctly, you have 3 spreadsheets:
    1. A: list of goods spreadsheet
    2. B: report from agent spreadsheet
    3. C: team spreadsheet

    Clarifying questions:


    1. Which spreadsheet has the information to be pasted to "another centralized spreadsheet"?
    2. Is the latter a 4th spreadsheet
    3. How do the 3 (or 4) spreadsheets relate?
    4. What does "selection" mean in the context of the "MA code in col Z"?
    "It's not just the due date that's important, it's also the do date" [MWE]

    When your problem has been resolved, mark the thread SOLVED by clicking on the Thread Tools dropdown menu at the top of the thread.

  3. #3
    VBAX Regular
    Joined
    Mar 2005
    Posts
    17
    Location
    Hello and thank you for taking the time to reply.

    Ok I should explain again from the beginning. Information is generated from an Oracle database and then exported into excel. I run a macro to update information sent to me from the agent. After this is done, I use autofilter to say everything with an 'MA' status to be cut from my list of goods spreadsheet (called 'mytrades') and put into the teamsheet (called XP_Gold). Its important that the trades are effectively 'cut' becuase i eventually want all 'mytrades' to end up in the XP_Gold spreadsheet, as I have effectively 'looked' at the trade in question.

    1. Mytrades has the information to be cut and pasted from into XP_Gold
    2. There are a few spreadsheets I have during the day, but in this example there are only three open workbooks.
    3. As answered above. 'Mytrades' is effectively all the trades I have to look at, the 'agentreport' is effectively a status update for all my opentrades, and XP_Gold is used as a centralised spreadsheet whereby a further macro is used on this to update the mainframe system
    4. Sorry this was a typo (I work long hours..). This was meant to be filter with MA.

    Thanks again - I hope this clarifies things

  4. #4
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Why don't you post a sample workbook that we can work upon?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •