Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 40
Default 3 combobox.values to one cell



Is it possible to get the value from three comboboxes in to one cell
Combobox1 Combobox2 Combobox3
1 1/16 HWDP
2 1/8 DC
3 3/16
4 1/4
5 5/16
6 3/8
7 7/16
8 1/2
9 9/16
10 5/8
11 11/16
12 3/4
13/16
7/8
15/16
I wonder if it's possible to write a code who can take the selected
values from the 3 comboboxes (with for example a commandbutton), and
paste the values i to one cell.
Or if it any other way to do i
Gratfull for all help!

Axel

*** Sent via Developersdex http://www.developersdex.com ***
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,202
Default 3 combobox.values to one cell

Something like this maybe...

Private Sub CommandButton1_Click()
Range("A1").Value = ComboBox1.Text & "-" & _
ComboBox2.Text & " " & _
ComboBox3.Text
End Sub

where you choose the cell you want filled in.

Rick


"Axel" wrote in message
...


Is it possible to get the value from three comboboxes in to one cell
Combobox1 Combobox2 Combobox3
1 1/16 HWDP
2 1/8 DC
3 3/16
4 1/4
5 5/16
6 3/8
7 7/16
8 1/2
9 9/16
10 5/8
11 11/16
12 3/4
13/16
7/8
15/16
I wonder if it's possible to write a code who can take the selected
values from the 3 comboboxes (with for example a commandbutton), and
paste the values i to one cell.
Or if it any other way to do i
Gratfull for all help!

Axel

*** Sent via Developersdex http://www.developersdex.com ***


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 40
Default 3 combobox.values to one cell



You are a genius Rick!
Works perfekt
Thank you.

*** Sent via Developersdex http://www.developersdex.com ***
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
combobox values Greg[_27_] Excel Programming 2 May 13th 06 07:29 PM
Two values in a combobox alvin Kuiper Excel Programming 2 February 23rd 06 06:55 PM
Fill values into a listbox matching selected values from a combobox Jon[_19_] Excel Programming 4 January 25th 05 04:25 PM
ComboBox Values Jim Berglund Excel Programming 4 August 17th 04 10:18 PM
ComboBox Values Darren[_3_] Excel Programming 1 July 16th 03 10:41 AM


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