+ Reply to Thread
Results 1 to 5 of 5

Copy and paste code in one line of code

  1. #1
    Forum Contributor
    Join Date
    04-22-2014
    Location
    Turrialba, Costa Rica
    MS-Off Ver
    Excel 2010
    Posts
    108

    Question Copy and paste code in one line of code

    Is it possible to write the following code in a single line of code?

    Please Login or Register  to view this content.
    Thanks

  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,903

    Re: Copy and paste code in one line of code

    Like this:
    Please Login or Register  to view this content.
    Rory

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Copy and paste code in one line of code

    Hi,
    Maybe

    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Forum Contributor
    Join Date
    04-22-2014
    Location
    Turrialba, Costa Rica
    MS-Off Ver
    Excel 2010
    Posts
    108

    Re: Copy and paste code in one line of code

    rorya. Your code works as I need.
    Thanks

  5. #5
    Forum Contributor
    Join Date
    04-22-2014
    Location
    Turrialba, Costa Rica
    MS-Off Ver
    Excel 2010
    Posts
    108

    Re: Copy and paste code in one line of code

    Richard. Your code works.
    Thanks

+ 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. VBA code to copy line items from form - overriding previous line item
    By dkostyan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-30-2016, 11:19 AM
  2. [SOLVED] VB code help- need copy cells in a row and paste to new sheet on next available blank line
    By Barbara Excel in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 11-27-2012, 03:11 PM
  3. [SOLVED] VBA Code to paste on next available line not working?
    By matrixpom in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 10-23-2012, 10:28 PM
  4. Code to paste info on next available line not working
    By matrixpom in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-22-2012, 04:07 AM
  5. copy sheets (with exception) and paste with line break (have code)
    By Armitage2k in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-26-2009, 03:11 PM
  6. [SOLVED] Got the Copy/Cut Code But what is the Paste Code
    By Corey in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-07-2006, 09:30 AM

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