+ Reply to Thread
Results 1 to 6 of 6

Using Marco - moving a line of data..

  1. #1
    Registered User
    Join Date
    05-07-2014
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    9

    Using Marco - moving a line of data..

    Hi there,

    I was hoping someone might be able to help/

    I have a line of data (say from B6 - S6) in cell S6, when i put in the word 'complete' i want the whole line of data to move to say line 34 - clearing line B6

    Could anyone help re the above?

    Thanks

    Matt

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

    Re: Using Marco - moving a line of data..

    try this;
    Please Login or Register  to view this content.
    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
    05-07-2014
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Using Marco - moving a line of data..

    HI alan, it didnt seem to work...any ideas? can i upload this for your information?

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

    Re: Using Marco - moving a line of data..

    Upload your file. Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  5. #5
    Registered User
    Join Date
    05-07-2014
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Using Marco - moving a line of data..

    Project Overview - Copy.xlsx

    Hi Alan, hope this works

    I have done a before and after

    Thanks

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

    Re: Using Marco - moving a line of data..

    Matt--
    It would be a lot easier to make happen if the completed were moved to a new sheet instead of the bottom of the existing sheet. In my example attached that is what I have done. Before you apply the Macro, however, you need to unmerge all your headings. VBA and Merged cells do not play well together. If you fail to unmerge the cells before running the macro, the macro will do it and will change your headings in the destination sheet.

    Please Login or Register  to view this content.
    Attached Files Attached Files

+ 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] Moving Contents of Line to End of Previous Line in Word 2010 doc
    By staggers47 in forum Word Formatting & General
    Replies: 4
    Last Post: 12-15-2012, 09:17 AM
  2. VBA to Enter keep moving a formula line down when new data is added in spreadsheet
    By rlsublime in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 11-22-2011, 12:22 AM
  3. Moving average line continues after data stops
    By yowzadave in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-06-2009, 02:09 PM
  4. [SOLVED] Moving data labels around with VBA (and adding a line between two
    By Caro-Kann Defence in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 11-30-2005, 04:55 AM
  5. Replies: 2
    Last Post: 10-06-2005, 02: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