+ Reply to Thread
Results 1 to 5 of 5

Excel Macro to insert copied row to the cell I currently have highlighted

  1. #1
    Registered User
    Join Date
    04-24-2014
    Location
    Montreal, QC, Canada
    MS-Off Ver
    Excel 2010
    Posts
    9

    Excel Macro to insert copied row to the cell I currently have highlighted

    I have 4 rows that are on a "Resource" sheet need to be inserted into about 150 different variable locations across 20 different sheets. Here is the code I have so far the will copy it to one specific location (see below). I need help in making the macro insert these copied cells to which ever cell I currently have active. I'm still really new at VB programming so this probably something really simple to solve.

    Please Login or Register  to view this content.
    Last edited by alansidman; 05-16-2014 at 02:30 PM. Reason: code tags

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,890

    Re: Excel Macro to insert copied row to the cell I currently have highlighted

    Code Tags Added
    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between
    Please Login or Register  to view this content.
    tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found at http://www.excelforum.com/forum-rule...rum-rules.html



    (Because you are new to the forum, I have added them for you today. Please take a few minutes to read all Forum Rules and comply in the future.)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

  3. #3
    Registered User
    Join Date
    04-24-2014
    Location
    Montreal, QC, Canada
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Excel Macro to insert copied row to the cell I currently have highlighted

    Thank you, will do!

  4. #4
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,890

    Re: Excel Macro to insert copied row to the cell I currently have highlighted

    Try this code, it will copy data from I3:I6 and paste to what ever cell you have active.

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    04-24-2014
    Location
    Montreal, QC, Canada
    MS-Off Ver
    Excel 2010
    Posts
    9

    Re: Excel Macro to insert copied row to the cell I currently have highlighted

    Thank you this has resolved my macro. Final code below;

    Please Login or Register  to view this content.

+ 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 to insert date in cell when other cells in row are highlighted
    By pharmerjoe7 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 01-27-2013, 06:07 PM
  2. Macro to insert number of rows where cell is highlighted or pointed
    By Optimus81 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-12-2012, 11:51 AM
  3. Copy and Insert Copied Cell - Macro
    By janjan_376 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-09-2010, 02:45 PM
  4. Macro - Copy and Insert Copied cell
    By janjan_376 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-27-2010, 03:47 PM
  5. Replies: 17
    Last Post: 01-18-2006, 06:45 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