Results 1 to 5 of 5

Progress Bar To a button on a userfrom

Threaded View

  1. #1
    Registered User
    Join Date
    07-02-2013
    Location
    Dublin, Ireland
    MS-Off Ver
    Excel 2003
    Posts
    19

    Progress Bar To a button on a userfrom

    I have a delete form that finds the product ID in the first column and then deletes the entire row.. I wanted to add a progress bar to the button so when clicked the user can see when the item has been fully deleted.

    This is my code

    Dim rng1 As Range

    MsgBox "Are you sure you want to delete this item?", vbCritical + vbYesNo

    If vbYes Then



    Set rng1 = Sheets("PRODUCT").Cells.Find(Me.txtDelete.Value, , xlValues, xlWhole)


    txtDelete = ""
    txtLayoutNo = ""
    txtCategory = ""
    txtProductDescription = ""
    txtUnitPriceIE = ""
    txtUnitPriceNI = ""

    rng1.EntireRow.Delete

    Else

    If vbNo Then

    Unload Me
    FrmHomepage.Show



    End If

    End If

    End Sub

    Thanks
    Last edited by peels2141; 07-05-2013 at 08:27 AM.

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