+ Reply to Thread
Results 1 to 5 of 5

Copy to clipboard all cell content?

  1. #1
    Forum Contributor
    Join Date
    11-26-2014
    Location
    Bosnia&Herzegovina
    MS-Off Ver
    Office2013
    Posts
    281

    Copy to clipboard all cell content?

    Hello,

    How to copy cell value to clipboard?

    Please Login or Register  to view this content.
    On sheet One in L14 is formula. I then copy that cell to sheet TWO in L12 as value.
    Now, problem is, I need to manually select cell L12 and go to formula bar to select all cell content and then keyboard CTRL+C to copy to clipboard and then go to remote desktop connection to paste that clipboard value. It's not pasting when I0m using "standard" VBA code for copying.

    ActiveCell.FormulaR1C1=" how to select all content? That is the questiion."

    Thanks in advance!

  2. #2
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,908

    Re: Copy to clipboard all cell content?

    Here's a routine to copy the active cell's formula to the clipboard. You can simply replace activecell with the relevant range:

    Please Login or Register  to view this content.
    Rory

  3. #3
    Forum Contributor
    Join Date
    11-26-2014
    Location
    Bosnia&Herzegovina
    MS-Off Ver
    Office2013
    Posts
    281

    Re: Copy to clipboard all cell content?

    Like this:

    Please Login or Register  to view this content.
    Not working, thanks Rory for your efort.

    When i'm inside Remote Desktop Connection i must use CTRL+V, but this code not working, then i must go to L12 to select formula bar and CTRL+C to copy all cell content.
    Last edited by B.W.B.; 03-18-2019 at 08:51 AM.

  4. #4
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,908

    Re: Copy to clipboard all cell content?

    No. If you want L12, then you need to use:

    Please Login or Register  to view this content.
    instead of:

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    11-26-2014
    Location
    Bosnia&Herzegovina
    MS-Off Ver
    Office2013
    Posts
    281

    Re: Copy to clipboard all cell content?

    Quote Originally Posted by rorya View Post
    No. If you want L12, then you need to use:

    Please Login or Register  to view this content.
    instead of:

    Please Login or Register  to view this content.
    YES YES YES, thank you Rory, God Bless You!! thanks excelforum, since 2014 helped me a ton!

+ 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. [SOLVED] Copy array content to Clipboard.
    By evertjvr in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-10-2016, 03:10 PM
  2. VBA code to copy user form textbox content to clipboard
    By Sendilo in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-17-2015, 10:19 PM
  3. COPY content to clipboard based on cell criteria
    By completelyhis in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-10-2014, 04:12 AM
  4. Copy cell content to clipboard to paste into a pdf
    By kevinm3u in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-06-2014, 03:30 PM
  5. Automatically copy cells content based on the content of another cell.
    By chrisbarlow1984 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-01-2014, 11:13 AM
  6. macro to move 1 cell left and paste CURRENT clipboard content as HYPERLINK
    By sgoesef in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-28-2013, 01:31 PM
  7. Copy content of cell to clipboard
    By amitmodi_mrt in forum Excel General
    Replies: 3
    Last Post: 09-08-2009, 11:26 AM

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