Closed Thread
Results 1 to 3 of 3

Progress Bar To a button on a userfrom

Hybrid 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

    Hi,

    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

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,054

    Re: Progress Bar To a button on a userfrom

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE] [/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here
    Never use Merged Cells in Excel

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,054

    Re: Progress Bar To a button on a userfrom

    Welcome to the Forum, unfortunately:

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    http://www.excelforum.com/excel-prog...-userfrom.html

    Thread Closed.

Closed 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