+ Reply to Thread
Results 1 to 4 of 4

Excel VBA copy and paste a defined selected range

  1. #1
    Registered User
    Join Date
    08-10-2015
    Location
    N/A
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    14

    Excel VBA copy and paste a defined selected range

    Hi all, I'm trying to write a vba code to allow the user to select multiple cells (scenario column numbers I later intend to use with "OFFSET" function to run analysis) and paste those cell values in other sheet.

    So far this is what I have:

    HTML Code: 
    Now all I'm intending to do is to paste the results of "z.Address" in "results" sheet lets say in a defined row 22.

    I've tried bunch of paste syntax I found but I always get compile error before running it.

    I appreciate your help with this!

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,078

    Re: Excel VBA copy and paste a defined selected range

    Maybe
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    08-10-2015
    Location
    N/A
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    14

    Re: Excel VBA copy and paste a defined selected range

    This is awesome! Thanks!

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,078

    Re: Excel VBA copy and paste a defined selected range

    You're welcome & thanks for the feedback

+ 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. Copy cells in a defined range > 0, paste in a defined cell on other worksheet
    By Jackson2806 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-04-2019, 08:52 PM
  2. [SOLVED] If word entered not in defined name range, copy & paste it to bottom of defined name range
    By Butcher1 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-09-2014, 01:08 PM
  3. Copy, paste, replace- user defined range in all the defined sheets
    By aganesan99 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-13-2014, 12:28 PM
  4. [SOLVED] Copy range and paste to next empty row in a defined row or area
    By JimmyG. in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-13-2013, 03:11 PM
  5. EXCEL 2003 copy paste a defined range in a cell
    By EXCELNOOB123 in forum Excel General
    Replies: 1
    Last Post: 03-07-2011, 10:01 PM
  6. Finding a defined range of cells then Copy & Paste
    By bernborough in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 10-11-2010, 06:45 PM
  7. Replies: 0
    Last Post: 02-24-2005, 04:06 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