+ Reply to Thread
Results 1 to 3 of 3

Copying Multiple Cells to Clipboard

Hybrid View

  1. #1
    Registered User
    Join Date
    06-17-2009
    Location
    Philippines
    MS-Off Ver
    Excel 2003
    Posts
    2

    Copying Multiple Cells to Clipboard

    Hi,

    Just one quick help needed here.

    Scenario is: I want to copy multiple cells into clipboard

    Ex:

    Name:________
    Email:________
    Phone:________
    Message:_________


    ----------------
    So lets say that Name is in cell A1 and A2 is output and so forth; whats the macro code to add to gather all these cells and put it into clipboard for pasting so output will be like:

    Name: Adam
    Email: rameeadamsareno@aol.com
    Phone: 245-8758877

    ----------
    So it will be possible to paste to a notepad or another excel cell.

    Thanks. Please help me, this is for a school project, it will mean a lot!
    Thanks. you can contact me directly at rameeadamsareno@aol.com

  2. #2
    Registered User
    Join Date
    05-22-2009
    Location
    UK
    MS-Off Ver
    Excel 2000,2003 and regretably 2007
    Posts
    77

    Re: Copying Multiple Cells to Clipboard

    try this

    im assumin You have Name in A1 and the result in A2 and then B1 and B2 for email and so forth


    me.range("A1","D2").select
    me.selection.copy
    this will copy the ranges you want to the clipboard enabling you to paste them any where you want,

    Teshi

  3. #3
    Registered User
    Join Date
    06-17-2009
    Location
    Philippines
    MS-Off Ver
    Excel 2003
    Posts
    2

    Smile Re: Copying Multiple Cells to Clipboard

    Quote Originally Posted by teshiburu1988 View Post
    try this

    im assumin You have Name in A1 and the result in A2 and then B1 and B2 for email and so forth


    me.range("A1","D2").select
    me.selection.copy
    this will copy the ranges you want to the clipboard enabling you to paste them any where you want,

    Teshi
    Thanks.

    I wanted the clipboard to copy the label aswell as the result, lets say A1 has Name and B1 is the result of the name and once sent to clipboard = result is

    Name: Ramee

    and so forth..so when I send this info to the clipboard, its like a form with label and results.

    Thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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