LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 18
Default Making Excel update a text box

Hi folks,

Does anyone know anything at all about this problem:

I have a worksheet containing a scroll bar, taken from the control
toolbox.
The code for this scrollbar'schange event copies information from
about 20 different cells into about 20 textboxes, displayed on the
worksheet. Again, they are control toolbox textboxes.

I have a separate sub, PrintSelectedValues that sets the value of the
scrollbar, then prints out the results, then changes the scrollbar
value again before printing a new page, then changes...for about 50
different scrollbar values

the problem is that the PrintSelectedValues sub to change the
scrollbar's values seems to outpace excels ability to refresh the
textboxes, and I get a jumbled mess of results. The first page to
print is fine, then PrintSelectedValues changes the scrollbar's value
but the textboxes don't update in time. The paper copy contains some
information from the first scrollbar value, mixed in with some from
the second.


I've tried to use a DoEvents command before the print command but I
still get the same problem
Many thanks for any and all advice!


Tony
 
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
Methods for making numbers into text are not the same Tuck D. Excel Worksheet Functions 1 February 7th 08 11:43 PM
How to update a column making sure new rows are created for new va PeterJKS Excel Discussion (Misc queries) 2 June 6th 07 02:42 AM
Excel data in text, wont update to time format raigo Excel Discussion (Misc queries) 5 August 4th 06 04:00 PM
making a number be text Fredrated Excel Worksheet Functions 2 June 1st 05 02:37 AM
Making text all CAPS in excel Jon Excel Worksheet Functions 4 December 13th 04 09:06 PM


All times are GMT +1. The time now is 11:30 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"