+ Reply to Thread
Results 1 to 2 of 2

Copy function but not from cells.

Hybrid View

  1. #1
    Registered User
    Join Date
    07-12-2018
    Location
    In the land of TBHQ
    MS-Off Ver
    2013
    Posts
    51

    Copy function but not from cells.

    Good Morning everyone,

    I'm trying to copy from a vba script a variable and using later to paste it somewhere else.

    I can't use the cells. This is an idea of the script.

    PHP Code: 
    Dim test As String
    test 
    "Hello"
    test.Copy 
    Of course I get an error, but this is the idea.

    Thank you for anyone who tries to help.

  2. #2
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Arrow

    Good afternoon !

    As you can use Copy method only on object so obviously not on a string variable !

    See the VBA inner help for PutInClipboard method for example or crystal clear explain your need …

+ 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] Formula/Function/VB to copy none blank cells
    By liamfrancis2013 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-20-2016, 10:36 AM
  2. [SOLVED] Formula/Function/VB to copy none blank cells
    By liamfrancis2013 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-17-2016, 06:26 AM
  3. Replies: 5
    Last Post: 11-01-2012, 08:50 PM
  4. how to copy function in a column skipping cells
    By sekernicek in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-02-2009, 09:26 AM
  5. [SOLVED] Hyperlink function and copy the cells without the function
    By arnies in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-12-2006, 09:50 AM
  6. [SOLVED] Hyperlink function and copy the cells without the function
    By arnies in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-12-2006, 09:47 AM
  7. [SOLVED] Copy Function into other cells
    By Peco Worker in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-13-2006, 12:35 PM

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