ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Progress Bar form window goes white (https://www.excelbanter.com/excel-programming/353752-progress-bar-form-window-goes-white.html)

philwongnz[_5_]

Progress Bar form window goes white
 

Hi there,

I am currently trying to follow the progress bar instructions from the
j-walk.com website. However I am struggling to understand the reason(s)
why my progress bar's form window goes white.

The funny thing is that when I insert a breakpoint on the line where
the percentage gets updated, the form window shows up as intended.
Pressing F5 again to run through my loop, the percentage gets updated
as intended.

So i was wonderin whether my computer doesn't have enough memory to
update the progress bar's form window while my macro is running.

Thanks

Phil


--
philwongnz
------------------------------------------------------------------------
philwongnz's Profile: http://www.excelforum.com/member.php...o&userid=26283
View this thread: http://www.excelforum.com/showthread...hreadid=514188


Chip Pearson

Progress Bar form window goes white
 
Try putting a form Repaint method each time you update the status
bar.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"philwongnz"
wrote
in message
...

Hi there,

I am currently trying to follow the progress bar instructions
from the
j-walk.com website. However I am struggling to understand the
reason(s)
why my progress bar's form window goes white.

The funny thing is that when I insert a breakpoint on the line
where
the percentage gets updated, the form window shows up as
intended.
Pressing F5 again to run through my loop, the percentage gets
updated
as intended.

So i was wonderin whether my computer doesn't have enough
memory to
update the progress bar's form window while my macro is
running.

Thanks

Phil


--
philwongnz
------------------------------------------------------------------------
philwongnz's Profile:
http://www.excelforum.com/member.php...o&userid=26283
View this thread:
http://www.excelforum.com/showthread...hreadid=514188





All times are GMT +1. The time now is 10:06 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com