+ Reply to Thread
Results 1 to 3 of 3

macro to paste in a user selected range

  1. #1
    Forum Contributor
    Join Date
    06-21-2013
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2010
    Posts
    179

    macro to paste in a user selected range

    Gurus,

    I am attempting to copy data from one spread sheet and paste it in another. The recorded macro works great. But, I don't want to place the data in range("E12"), I want to user to specify the placement. Does anyone know the code to do that?

    Range("AI1:AM6").Select
    Range("AL1").Activate
    Application.CutCopyMode = False
    Selection.Copy
    Workbooks.Open Filename:= _
    "\\Vmfiles\users\timlmit\My Documents\Excel test\master RFQ\MASTER QUOTE LIST.xlsx"
    ActiveSheet.Paste
    Range("E12").Select
    End Sub

    TIA,
    Tim

  2. #2
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: macro to paste in a user selected range

    Please Login or Register  to view this content.
    If solved remember to mark Thread as solved

  3. #3
    Forum Contributor
    Join Date
    06-21-2013
    Location
    Chicago, IL
    MS-Off Ver
    Excel 2010
    Posts
    179

    Re: macro to paste in a user selected range

    Awesome! Thanks Patel45. I saw you posted this similar answer somewhere else, but I couldn't figure it out for my specific application.
    Thanks again!
    Tim

+ 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. Macro Button: To paste selected range into active cell
    By Grundy_03 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-29-2012, 07:41 PM
  2. Macro to paste a comparison formula into a selected range
    By aegbert in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-18-2012, 04:14 PM
  3. [SOLVED] referring to user selected range in VBA function
    By xelhelp in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-26-2012, 11:07 AM
  4. Macro - Problem with user selected range passing into a formula
    By XL2008 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-11-2010, 10:21 AM
  5. User Selected Range Across Workbooks
    By Mountainman141 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-18-2008, 11:58 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