+ Reply to Thread
Results 1 to 2 of 2

Move record to different sheet and then deleting it through a userform command button

  1. #1
    Registered User
    Join Date
    05-11-2012
    Location
    Chester, England
    MS-Off Ver
    Excel 2007
    Posts
    28

    Move record to different sheet and then deleting it through a userform command button

    Hi,

    I have a button on a worksheet called Properties which when clicked, opens a UserForm which shows the details of the data on the row of the active cell. What I want to do is have a command button on the userfom which when pressed, will move the active cell row to another sheet called Archive in the next available row. Here is the code I have at the moment:

    Please Login or Register  to view this content.
    With this code, I get the error Run-time error '1004': Method 'Range' of object'_Global' failed

    Once the record has been moved, I want that record (and the row) to be deleted. In other words, there won't be a gap once the record is deleted.

    I have looked all over the internet but nothing has helped really.

    Thanks for any help
    Last edited by dev111ski; 05-31-2012 at 05:53 AM.

  2. #2
    Registered User
    Join Date
    05-11-2012
    Location
    Chester, England
    MS-Off Ver
    Excel 2007
    Posts
    28

    Re: Move record to different sheet and then deleting it through a userform command button

    I found a solution

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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