+ Reply to Thread
Results 1 to 4 of 4

Copy Row Info Up VBA Macro

  1. #1
    Forum Contributor
    Join Date
    10-27-2009
    Location
    San Diego California
    MS-Off Ver
    Excel 2010
    Posts
    160

    Copy Row Info Up VBA Macro

    The VBA macro below used to copy all info, formatting and formulas up one row after inserting that row. Now it inserts the row, copies the formatting but not the data.

    Can anyone help with this one. I cannot determine what changed to make this happen.

    It appears to be related to only one worksheet, I've placed this in personal.xlsb as I use it quite often in all my worksheets.


    Sub COPYROWINFOUP()

    With Selection.EntireRow
    .Copy
    .Insert
    End With
    Application.CutCopyMode = False
    End Sub

  2. #2
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Copy Row Info Up VBA Macro

    Maybe:

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    10-27-2009
    Location
    San Diego California
    MS-Off Ver
    Excel 2010
    Posts
    160

    Re: Copy Row Info Up VBA Macro

    It works in other worksheets though, can't figure out why in one particular worksheet it doesn't is all.

  4. #4
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Copy Row Info Up VBA Macro

    Can you attach a file with a few sheets and a sheet where it does not work? To attach a file, push the button with the paperclip (or scroll down to the Manage Attachments button), browse to the required file, and then push the Upload button.

+ 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] Macro to copy and transpose certain info
    By bpyoung83 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-29-2013, 01:29 PM
  2. Macro to Copy Employee Info in 2 Lines Below
    By Patish in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-17-2012, 03:36 PM
  3. How can I copy and paste info from one sheet to another via macro
    By jamie.c in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-09-2009, 08:48 AM
  4. Replies: 1
    Last Post: 11-16-2008, 10:42 AM
  5. Copy MTD info from YTD detail and paste to new tab Macro
    By cp1cp2@gmail.com in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-07-2005, 08:05 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