+ Reply to Thread
Results 1 to 4 of 4

Progress Bar showing the count, rather than percentage

  1. #1
    Registered User
    Join Date
    02-20-2017
    Location
    New York, NY
    MS-Off Ver
    2010, 2013
    Posts
    14

    Progress Bar showing the count, rather than percentage

    I have a userform with a progress bar. Any ideas why the progress bar is showing the count, rather than % complete? In this instance there are 20 items, and as the progress bar runs, it starts at 1%, 2%, ending at 20%, rather than 100% (total count of the items is 20).

    Please Login or Register  to view this content.
    Last edited by Leith Ross; 09-25-2017 at 03:57 PM. Reason: Added Code Tags

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Progress Bar showing the count, rather than percentage

    Maybe:

    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Registered User
    Join Date
    02-20-2017
    Location
    New York, NY
    MS-Off Ver
    2010, 2013
    Posts
    14

    Re: Progress Bar showing the count, rather than percentage

    That was it! Thank you, greatly appreciated.

    Any ideas on saving as a .pdf rather than .docx? The code below will create 1 pdf, but for some reason the bookmarks are deleted in the template so it obviously won't continue.

    ' SAVE AS A PDF: START
    doc.ExportAsFixedFormat OutputFileName:=FilePath & "Document " & DocumentCell.Value & ".pdf", _
    ExportFormat:=wdExportFormatPDF
    doc.Close
    Set doc = Nothing

  4. #4
    Registered User
    Join Date
    02-20-2017
    Location
    New York, NY
    MS-Off Ver
    2010, 2013
    Posts
    14

    Re: Progress Bar showing the count, rather than percentage

    The following will create both Word and PDF, which will work fine. However, I am curious how to close Word without saving if anyone knows.

    ‘Save as Word
    doc.SaveAs2 FilePath & "Document " & DocumentCell.Value & ".docx"

    ' Save as PDF
    doc.ExportAsFixedFormat OutputFileName:=FilePath & "Document " & DocumentCell.Value & ".pdf", _
    ExportFormat:=wdExportFormatPDF
    doc.Close

    Next DocumentCell
    wd.Quit

+ 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. How to count progress percentage in a row excluding a value
    By Mrerosennin in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-05-2017, 08:35 AM
  2. showing the progress of the dependency
    By sanlen in forum Excel General
    Replies: 1
    Last Post: 12-14-2016, 02:40 AM
  3. [SOLVED] Chart showing progress
    By KClem in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 10-29-2015, 07:55 AM
  4. Showing progress with arrows
    By bogdn in forum Excel General
    Replies: 2
    Last Post: 05-30-2013, 04:31 AM
  5. percentage progress bar in vba
    By djwaz69 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-17-2013, 10:34 PM
  6. Need help showing progress bar
    By dontke in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-04-2012, 09:50 AM
  7. VBA: Progress bar not showing
    By kcjones242 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-14-2011, 12:54 PM

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