Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
update Label and other component
Hi,
I have a task which scan a sheet and especially which calculate the amount of records. for that, i have a Label which should be updated in permanence to display the % already scanned. however, my form only display 2 status. the initialization to 0 and when it's done at 100 %. how can i my the form update the label every time that it should normaly be done. something like : initialization -- 0 % done after xxx records scanned -- xxx % done after yyy records scanned -- yyy % done when it's finished --< 100 % done. thanks for help. Maileen |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
update Label and other component
Just some precision...
if i use myform.repaint, it fix the problem, but myform is blinking due to painting. :( Maileen wrote: Hi, I have a task which scan a sheet and especially which calculate the amount of records. for that, i have a Label which should be updated in permanence to display the % already scanned. however, my form only display 2 status. the initialization to 0 and when it's done at 100 %. how can i my the form update the label every time that it should normaly be done. something like : initialization -- 0 % done after xxx records scanned -- xxx % done after yyy records scanned -- yyy % done when it's finished --< 100 % done. thanks for help. Maileen |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
update Label and other component
Make sure screenupdating is not set to false and put in DoEvents where you
now have the Repaint. See if that works. -- Regards, Tom Ogilvy "Maileen" wrote in message ... Just some precision... if i use myform.repaint, it fix the problem, but myform is blinking due to painting. :( Maileen wrote: Hi, I have a task which scan a sheet and especially which calculate the amount of records. for that, i have a Label which should be updated in permanence to display the % already scanned. however, my form only display 2 status. the initialization to 0 and when it's done at 100 %. how can i my the form update the label every time that it should normaly be done. something like : initialization -- 0 % done after xxx records scanned -- xxx % done after yyy records scanned -- yyy % done when it's finished --< 100 % done. thanks for help. Maileen |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Dynamically update label axis *format* without VBA? (03 and 07) | Charts and Charting in Excel | |||
Automatically update Value for data label | Charts and Charting in Excel | |||
Data Label Update | Excel Discussion (Misc queries) | |||
Data Label Update | Excel Discussion (Misc queries) | |||
Userform - Label Caption - How to update from a variable | Excel Programming |