Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default Problem with populating textboxes in relation to drop down list

I have a drop-down list in a form, a number of text boxes are then populated
from this value. For example the Date text text box is to be filled with
data to the left of the tourref value etc.
I have used the ".Column()" property eg.

'On Change of Tourref Drop-Down
Private Sub tourref_Change()
DateText.Value = tourref.Column(-1)
CountryText.Value = tourref.Column(1)
PlaceText.Value = tourref.Column(2)
AdultText.Value = tourref.Column(3)
ChildText.Value = tourref.Column(4)
End Sub

However, this does not work on the "bookings" sheet at all. But does work on
others. Any ideas why? or how i can do it differently?
Thanks
--
Cheers,
Ben

Remove your.tonsils to reply
"You only live once but if you do it right once is enough!"


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
Populating other cells based on a choice from a drop-down list Ryan Excel Discussion (Misc queries) 1 December 19th 08 08:30 PM
drop down list populating Pammy Excel Discussion (Misc queries) 2 October 27th 08 04:25 PM
Problem - Shapes.Textboxes JMay Excel Discussion (Misc queries) 2 April 22nd 07 10:28 PM
Drop-down list problem jgn2112 Excel Discussion (Misc queries) 2 July 8th 06 04:52 PM
Populating worksheet via a drop down list ! kuansheng Excel Worksheet Functions 4 February 14th 06 05:48 AM


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