#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default odd problem

Hi,
Im fairly new to visual basic for applications and Ive come across a
weird occurance. I have 2 list boxes set up and use , < , , << buttons
to transfer a text string from one list box to the other. Basically the left
listbox has a bunch of options and the right one is the selected options.
There are all kinds of these in various wizards and things. Well, when a Run
button is pressed, it reads the entries from the right list box and performs
the appropriate actions. The problem is that sometimes it will not read
anything out of the list box. (Im using the listbox2.value to get the
string). Its so weird because sometimes it works and sometimes it doesnt
even when run under the exact same conditions. A lot of times, it will work
when I put messageboxes in to track values. This makes me think that
somehow, some data is stuck in a buffer somewhere and needs to be flushed. A
msgbox i guess happens to do a flush and thats why it works with them. Any
ideas?

Mark
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
Colon at the end of excel file name(ex: problem.xls:1, problem.xls financeguy New Users to Excel 2 January 15th 10 01:15 AM
Started out as an Access problem. Now an Excel problem RobertM Excel Discussion (Misc queries) 2 April 26th 06 07:30 PM
problem with a conditional max problem Brian Cornejo Excel Discussion (Misc queries) 1 February 18th 05 06:25 PM
Problem when multipple users access shared xl-file at the same time, macrocode for solve this problem? OCI Excel Programming 0 May 16th 04 10:40 PM


All times are GMT +1. The time now is 04:30 PM.

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"