Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 49
Default Select a ListBox value with code


I have a user form that needs to transfer info to another one. I get
the text, like "ABC Supply" from UserForm3.TextBox11 and try setting it
equal to UserForm1.ListBox4 on the new userform. My problem is that
this works intermittently. Sometimes UserForm1.ListBox4 will show "ABC
Supply" and have it highlighted but when I check
UserForm3.TextBox11.Text it shows "" as the text and the value. Both
listboxes get there list generated from the same list so there are no
spelling problems it should encounter. The odd thing is that this work
part of the time.

I would appreciate any help.
Thanks
Scott

UserForm1.ListBox4.Text = UserForm3.TextBox11.Text 'Supplier being
quoted

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
Modification of listbox to listbox code Sam S via OfficeKB.com Excel Programming 0 July 28th 05 12:02 PM
Modification of listbox to listbox code R.VENKATARAMAN Excel Programming 0 July 28th 05 05:36 AM
Multi-select listbox help! John[_60_] Excel Programming 3 October 9th 04 01:57 AM
Select an item in a listbox using code Fred Jacobowitz Excel Programming 2 August 23rd 04 03:27 AM
Select from table and listbox PawelR Excel Programming 1 November 7th 03 01:21 PM


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