+ Reply to Thread
Results 1 to 5 of 5

copy and paste

  1. #1
    Registered User
    Join Date
    07-24-2015
    Location
    USA
    MS-Off Ver
    MS Office 2010
    Posts
    3

    copy and paste

    I need some help writing a macro that will allow me to enter information in specific cell in one workbook ("Blank Transmittals") and when said cell has information entered, said information is copied and pasted into a specific cell in a different workbook ("Transaction Report"). PLEASE NOTE: These are NOT separate worksheets inside the same workbook, but two completely different workbooks. Here are a few more specifics:

    BLANK TRANSMITTALS

    COLUMN A COLUMN B COLUMN C COLUMN D COLUMN E COLUMN F
    RECEIPT # NAME TRANSACTION CASE # CHECK CASH
    12345 SMITH A1B23C4D 15-1234-AB 200.00
    12346 SMITH CERT COPY B 123 PG 456 5.00
    CHECK TOTAL 200.00
    CASH TOTAL 5.00


    TRANSACTION REPORT
    COLUMN A COLUMN B COLUMN C COLUMN D COLUMN E COLUMN F COLUMN G
    DATE REC # NAME DEPT. DESC CASE#/REF FEE
    ____ _____ ____ _____ ____ _________ ___
    ____ _____ ____ _____ ____ _________ ___


    I would like to see happen that whenever I fill in the information in the first example for Column A (Receipt #), said information would need to be copy and pasted into the second example's Column B (REC #).
    And likewise, the same for the columns entitled name with name,
    and transaction with desc,
    and case # with case#/ref,
    and both cash and check information would need to be copy and pasted into fee.

    Any help or advice on this issue would be greatly appreciated.

    I hope to hear a response soon!

    Thank you for reading!

    -Matt

  2. #2
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: copy and paste

    Hi –Matt,
    . You have explained your requirement quite well, and it sounds like a typical and “do- able thing”, but remember you know your project inside and out, but for someone seeing it for the first time it is going to be difficult to get a clear picture of what is going on..
    .
    . it is always preferred here if you try to produce Good before and after “ Pictures “ ( Not Images! ) as well as your explanations so I or anyone else can see exactly what you want..and importantly have some copyable test data to work with.

    . The Before or Befores, should look just as it / they does before running of any macro.
    .
    . The After or Afters, should be hand filled by you so that it they / looks exactly as you want it to After running of any macro, based on the actual sample data in the Before / or Befores

    . Make sure there is just enough data to demonstrate your need. Remember to desensitize the data if necessary, but use the typical Format type and choose your data carefully so that it can be used to test all possible scenarios.
    ...
    To give these "Picture" - a few ways...( The second is what most people do )

    . 1 ) use the Forum Tools in my signature to produce screen shots we can copy to a spreadsheet ( NO IMAGES ! )
    . 2 ) Post Files
    . 2 a) To Attach a sample workbook:
    View Pic
    http://www.excelforum.com/members/da...ch-a-file.html
    http://tinyurl.com/oenwprw
    . 2 b) Send over a file sharing site, such as this free thing
    Box Net,
    https://www.box.com/
    http://tinyurl.com/7chr7u8
    . Remember to select Share and give the link / links they give.
    . 3 c) Only as a last resort, P.M **( Private Message ) . me and i will reply with my Email Addressee so you can send me a file
    ** To PM me, click on my name in the left hand margin when you are logged in, the rest should be obvious.

    Alan

    P.s. don’t “hope to receive a response too soon”, we are all volunteers here and do it for fun when we feel like it!! But if no one else picks up the thread I will try to do it for you sometime late tomorrow.
    '_- Google first, like this _ site:ExcelForum.com Gamut
    Use Code Tags: Highlight code; click on the # icon above,
    Post screenshots COPYABLE to a Spredsheet; NOT IMAGES PLEASE
    http://www.excelforum.com/the-water-...ml#post4109080
    https://app.box.com/s/gjpa8mk8ko4vkwcke3ig2w8z2wkfvrtv
    http://excelmatters.com/excel-forums/ ( Scrolll down to bottom )

  3. #3
    Registered User
    Join Date
    07-24-2015
    Location
    USA
    MS-Off Ver
    MS Office 2010
    Posts
    3

    Re: copy and paste

    Okay. Attached are each identically formatted examples of my two workbooks that I need help with.

    Just to make sure that everyone is understanding this request, let me try to explain it more clearly, considering the spreadsheets have been attached:

    You should be able to open "Blank Transmittals" and look at the sample information entered.
    What I would like to see happen would be for when I enter data into box A4 for the Receipt # in "Blank Transmittals", or on any of the applicable worksheets within the workbook "Blank Transmittals", the same data would be placed into box B5 for REC # in "Transaction Reports". And the next entry in any "Blank Transmittals" worksheet to be automatically entered into the next available row in "Transaction Reports".

    Accordingly, here are the Column Names I need associated with each other:

    Blank Transmittals__________Transaction Report
    RECEIPT #______________________________REC #
    LAST NAME_____________________________NAME
    TRANSACTION___________________________DESC
    CASE #___________________________CASE#/REF
    CASH___________________________________FEE
    CHECK__________________________________FEE

    Additionally, if it were possible, is there a macro for entering the date that information was copied and pasted in the DATE column in "Transaction Report", joined by if data is entered into the "Recording" worksheet, then from the drop down list in the D Column, "REC" would automatically be selected?

    I hope that I explained everything as clearly as was needed for this query.
    Please let me know if any more information is needed to produce some sort of an answer.

    -Matt
    Attached Files Attached Files

  4. #4
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: copy and paste

    Quote Originally Posted by mshuler1 View Post
    Okay. Attached are each identically formatted examples of my two workbooks that I need help with....
    .......
    Just to make sure that everyone is understanding this request, let me try to explain it more clearly, considering the spreadsheets have been attached:......
    Hi Matt,

    .. I do think you have explained clearly. I am sure I would get it if I study a bit longer..But please remember you know your project inside and out. For someone seeing it for the first time you really must make it crystal clear, or the time we need to understand your requirement puts us off trying to help.
    . I do not think you have quite understood or supplied what I was trying to ask for..

    . Try again:
    .
    . Resend your Blank transmissions and highlight a cell ( in the A column I think ) where you enter data.
    .
    . I will assume the transaction Record File you sent is what I meant by the before
    .
    . Now send me again another transaction Record File where you type in manually and highlight the data that is copied to transaction record as a result of the highlighted selection in the blank transmission. That is what I meant by the After.
    .
    . And maybe just to be sure, ( using a different highlight color ) repeat the above for a selection in another sheet in blank transmission and show how that should appear in Transaction record.
    . It should then be clear (even for me!! )

    Alan

  5. #5
    Forum Expert Doc.AElstein's Avatar
    Join Date
    05-23-2014
    Location
    '_- Germany >Outside Building things.... Mostly
    MS-Off Ver
    Office 2003 2007 2010 PC but Not mac. XP and Vista mostly, sometimes Win 7
    Posts
    3,618

    Re: copy and paste

    Hi Matt,
    . I will be droping this one off my lists to answer as you have not replied.
    . It would be helpful if you no longer want help here to mark the Thread as solved
    Thanks
    Alan

+ 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. Replies: 3
    Last Post: 01-01-2015, 06:26 AM
  2. How do I make the copy/paste of one column contingent on the copy/paste of another?
    By Kwasimitsu in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-23-2014, 01:51 PM
  3. [SOLVED] Copy Paste Loop ends before copy/paste is finished
    By brgr4u in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-08-2013, 04:01 PM
  4. Automate copy and paste and copy and paste back to excel
    By Bmw318be in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-23-2013, 05:42 AM
  5. Replies: 1
    Last Post: 01-16-2013, 05:36 AM
  6. 2 Macro's: only vertical copy/paste action and copy-paste 14 columns to the right.
    By vdongen in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-08-2010, 10:34 AM
  7. Replies: 1
    Last Post: 01-04-2005, 06:06 PM

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