LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
jaf jaf is offline
external usenet poster
 
Posts: 300
Default Text Box - Setting Values

Or frmReporting.Repaint



--

John

johnf202 at hotmail dot com


"Kirk" wrote in message
...
Try adding the following before you update your textbox:

frmReporting.txtStatus.setfocus
//Update text box //
go back to wherever you were at before.

This may help.

Kirk
-----Original Message-----
I have a form with a text box called txtStatus. I use
this to inform the user of the progress of the processes

I
am running. There are about 20 steps that run over 10
minutes. The code I am trying to use is:

frmReporting.txtStatus.Text = "My Message"
sub_runmyprocedure

The problem is that when I run the code the text box is
not updated. If I step through the code I can see it
update the txtStatus with my message. If a use a msgbox

I
can see the text box update with my message:

frmReporting.txtStatus.Text = "My Message"
msgBox ""
sub_runmyprocedure

I have tried to use these lines to force the code to

pause
but it still does not work.

frmReporting.txtStatus.Text = "My Message"
application.wait 100
sub_runmyprocedure

Can anyone help me with this?

JohnV
.



 
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
Text format - setting text colour with code NDBC Excel Discussion (Misc queries) 6 July 1st 09 10:15 PM
Setting values in a cell Stephen Excel Discussion (Misc queries) 3 July 10th 08 08:23 PM
Setting Chart X and Y values indirectly Manos Charts and Charting in Excel 2 October 29th 07 07:39 PM
Auto setting the charts y axis values Lasci Charts and Charting in Excel 0 November 29th 06 10:14 AM
Setting values in another workbook Ecco Excel Programming 1 July 17th 03 08:15 AM


All times are GMT +1. The time now is 02:17 PM.

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

About Us

"It's about Microsoft Excel"