Results 1 to 13 of 13

Macro to delete data on separate sheets

Threaded View

nohero Macro to delete data on... 06-09-2011, 12:01 PM
nohero Re: Macro to delete data on... 06-14-2011, 01:19 PM
Charles Re: Macro to delete data on... 06-14-2011, 01:23 PM
nohero Re: Macro to delete data on... 06-14-2011, 04:37 PM
Charles Re: Macro to delete data on... 06-14-2011, 07:03 PM
  1. #1
    Registered User
    Join Date
    05-27-2011
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2007
    Posts
    72

    Macro to delete data on separate sheets

    Ok, so the main sheet for my workbook has 2 userforms and a data view section. The data view section allows to input a serial number and it then pulls all records associated to that serial number from both sheets in which my userforms drop their data.

    The name of my main sheet where the data is being viewed (via vlookup formulas) is called "Main", the hidden data sheets that the userforms are sending the info to are called "ProductData" and "OrderData". The view data section on my main sheet locates all the product info on one sheet and locates all orders associated with that product and places them in a nice print-friendly format. I would like a button right on that sheet to DELETE all information attached to that serial number on my other sheets, preferably with a confirmation pop-up to prevent accidental deleting.

    The reason for this function would be to allow a user the chance to correct their error. Assuming the user accidentally input incorrect information in the userform, I need a way that they can easily remove that record. Sometimes this may occur at a later date when viewing a record in my data view section they see a mistake and want to remove that entire record and re-enter it correctly using the userforms once again.

    Hope it's clear.

    Ideas?
    Last edited by nohero; 06-15-2011 at 02:14 PM.

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