Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default 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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamically update label axis *format* without VBA? (03 and 07) ker_01 Charts and Charting in Excel 6 March 17th 10 11:59 PM
Automatically update Value for data label Nav Charts and Charting in Excel 0 June 18th 08 12:37 PM
Data Label Update IK Excel Discussion (Misc queries) 1 March 23rd 07 06:56 AM
Data Label Update IK Excel Discussion (Misc queries) 1 March 23rd 07 06:55 AM
Userform - Label Caption - How to update from a variable Alan Excel Programming 3 August 2nd 04 04:39 AM


All times are GMT +1. The time now is 01:24 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"