Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-22-2014, 09:25 PM
patrickgh patrickgh is offline status bar for looping macro Windows 7 64bit status bar for looping macro Office 2013
Novice
status bar for looping macro
 
Join Date: Jan 2014
Location: Tucson
Posts: 1
patrickgh is on a distinguished road
Exclamation status bar for looping macro

I have a macro that changes the file location of my linked Excel spreadsheet. The process takes quite a while to complete and there is no indication that it is running until I pop up a msgbox at the end to let the user know it completed.

What I want to do is show a progress bar in a dialogue box, but can't find the code to write one for PowerPoint. Is there anything like what I'm looking for? I'll even settle for a passive window that tells the user to be patient while the operation runs and then pop up the msgbox
Reply With Quote
  #2  
Old 01-23-2014, 06:44 AM
JohnWilson JohnWilson is offline status bar for looping macro Windows 7 64bit status bar for looping macro Office 2010 32bit
Programmer
 
Join Date: Nov 2008
Location: UK
Posts: 1,912
JohnWilson has a spectacular aura aboutJohnWilson has a spectacular aura about
Default

http://spreadsheetpage.com/index.php...ess_indicator/

It will work in PPT too.
__________________
Microsoft PowerPoint MVP 2007-2023
Free Advanced PowerPoint Tips and Tutorials
Reply With Quote
  #3  
Old 01-23-2014, 09:45 PM
excelledsoftware excelledsoftware is offline status bar for looping macro Windows 7 64bit status bar for looping macro Office 2003
IT Specialist
 
Join Date: Jan 2012
Location: Utah
Posts: 455
excelledsoftware will become famous soon enough
Default

I just make a counter variable and display it somewhere where the user can see. it.

If I am using a for loop like
Code:
Sub LoopWithCounter ()

dim Counter as integer, x as integer
    for x = 1 to 100
    'insert code here
        counter = 100 - x & " Records Remaining."
        range("a1").value = counter
    next x
    
    range("a1").ClearContents
    msgbox "All Records Complete!"
End Sub
May not be exactly what you are looking for but it's a pretty simple solution.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Looping slides within a slideshow fugi1967 PowerPoint 0 02-01-2012 06:32 AM
status bar for looping macro Need help on macro for looping kilosub Word VBA 31 07-27-2011 01:37 PM
Looping Question Steve B PowerPoint 0 01-19-2011 10:44 AM
Looping video tomasball PowerPoint 0 10-30-2010 02:38 PM
Unbreakable looping Dixon Outlook 0 09-23-2009 02:10 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:23 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft