Hi guys,
I've created a percent counter by using this code in a loop, so with each iteration i and j get increased and a percentage is shown.
Dim strFormat as String
j = j + 1
Total_progress = j / i
strFormat = Format(Total_progress, "0%")
txtPercent.value = strFormat
Me.Refresh
The only way this works is if txtPercent has the focus, the problem is that it is always flickering and blue (like when you select the text in a box it first goes blue to select the whole word). I want it to look like a solid number without it constantly selecting the number and turning it blue. Is there anyway to do this?
Thanks
I've created a percent counter by using this code in a loop, so with each iteration i and j get increased and a percentage is shown.
Dim strFormat as String
j = j + 1
Total_progress = j / i
strFormat = Format(Total_progress, "0%")
txtPercent.value = strFormat
Me.Refresh
The only way this works is if txtPercent has the focus, the problem is that it is always flickering and blue (like when you select the text in a box it first goes blue to select the whole word). I want it to look like a solid number without it constantly selecting the number and turning it blue. Is there anyway to do this?
Thanks