+ Reply to Thread
Results 1 to 2 of 2

How to automatically move a row onto a new worksheet

  1. #1
    Registered User
    Join Date
    10-17-2022
    Location
    Fareham, England
    MS-Off Ver
    Windows 10
    Posts
    1

    How to automatically move a row onto a new worksheet

    Hi everyone, I'm really sorry if this is really obvious, I'm a newbie when it comes to Excel formula/VBA and have overestimated the ease I can do things! (I'm at the level where I can sometimes understand what I'm reading and occasionally know where I need to go to do what but that's it I'm afraid!)

    I am currently redesigning our spreadsheet that we log our contracts on and their progress. I would like to have a code that when I input a date into column AF on Worksheet 1 it will copy that whole row into Worksheet 2 and delete the row on Worksheet 1. I've seen several different pieces of code and I'm really confused as to what I need to definitely have and what I would need to amend etc. I know everyone codes differently so that would probably be why I have seen so many different forms, but it's definitely just confused me massively!

    Thank you so much for any help you can give me!

  2. #2
    Forum Contributor
    Join Date
    08-12-2020
    Location
    Atlanta, Georgia
    MS-Off Ver
    Office 16
    Posts
    241

    Re: How to automatically move a row onto a new worksheet

    Hi JMor, Unless one of the many advanced users here can give you something specific, what I would do is record a macro. Set up your scenario by opening both spreadsheets and first making sure the name and tabs are already setup on each sheet, including the information in sheet 1 that you will want to move to sheet 2. Then, using the macro recorder found in the lower left, record the steps. Input a date, press copy, go to the next sheet and paste, go back to sheet 1 and erase the row, etc. Stop the recorder when done by pressing it again. Now you have a "basic" script to work from. You can add other recording pieces to it and build what you need. This should work as long as the name of sheet 2 does not change. You can even add script to open sheet 2 using this method and adding it to your "main" script. Do you want it to perform this task at the push of a button, do you want it to perform this function when a date is entered, etc. Those can be added to it. If you need assistance, if possible, provide a sheet with what you have so we have something to work off of. Good luck.

    Squeaky.

+ 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. Replies: 8
    Last Post: 02-16-2015, 03:39 AM
  2. Automatically move row of data in table from one worksheet to another
    By steveb1988 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-12-2014, 05:07 PM
  3. Automatically move row from one worksheet to another
    By lpc87 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-14-2013, 02:16 PM
  4. Replies: 1
    Last Post: 09-14-2012, 09:02 PM
  5. [SOLVED] Move data to another worksheet and automatically run macro.
    By ghoshl1 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-12-2012, 02:16 PM
  6. Move entire row automatically to another worksheet if condition is met
    By starr5128 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-30-2011, 06:38 PM
  7. automatically move row to another worksheet
    By CA enpet in forum Excel General
    Replies: 0
    Last Post: 08-04-2006, 04:55 PM

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