LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
lc lc is offline
external usenet poster
 
Posts: 6
Default More combobox questions

Hi,


I am trying to create a combo box such that when I select a value from
the combo box, it will link me to a cell I had specified.


I am also trying to create another combo box such that when I select a
value from the combo box, it will link me to another worksheet of the
same workbook.


Any help is greatly appreciated.


Thanks.


lc


Reply





Tom Ogilvy Sep 1, 1:27 pm show options

Newsgroups: microsoft.public.excel.programming
From: "Tom Ogilvy" - Find messages by this author
Date: Thu, 1 Sep 2005 14:27:06 -0400
Local: Thurs, Sep 1 2005 1:27 pm
Subject: Combobox question
Reply | Reply to Author | Forward | Print | Individual Message | Show
original | Report Abuse

In the linkedcell property


Sheet1!A1


would like the combobox to cell A1 on Sheet1.


--
Regards,
Tom Ogilvy



"lc" wrote in message


oups.com...


- Hide quoted text -
- Show quoted text -

Hi,


I am trying to create a combo box such that when I select a value from
the combo box, it will link me to a cell I had specified.



I am also trying to create another combo box such that when I select a
value from the combo box, it will link me to another worksheet of the
same workbook.



Any help is greatly appreciated.



Thanks.



lc




Reply





lc Sep 1, 1:51 pm show options

Newsgroups: microsoft.public.excel.programming
From: "lc" - Find messages by this author
Date: 1 Sep 2005 11:51:14 -0700
Local: Thurs, Sep 1 2005 1:51 pm
Subject: Combobox question
Reply | Reply to Author | Forward | Print | Individual Message | Show
original | Remove | Report Abuse

What I really want to do is to link each selection with a differenct
cell. For example, if my input range consists of the following
information:


1. a
2. b
3. c
4. d


The cells I want my selection to link to is:


1. C100
2. A20
3. D40
4. F50


When I select "a" from the combo box, it will go to the cell C100.
When I select "b" from the combo box, it will go to cell A20.
etc.


I hope this clarifies my question


Thanks.


Reply





Tom Ogilvy Sep 1, 2:38 pm show options

Newsgroups: microsoft.public.excel.programming
From: "Tom Ogilvy" - Find messages by this author
Date: Thu, 1 Sep 2005 15:38:50 -0400
Local: Thurs, Sep 1 2005 2:38 pm
Subject: Combobox question
Reply | Reply to Author | Forward | Print | Individual Message | Show
original | Report Abuse

Private Sub Combobox1_Click()
Dim v as Variant
v = Array("C100","A20","D40","F50"*)
if combobox1.listindex < -1 then
Range(v(combobox.ListIndex + 1)).Select
end if
End Sub


--
Regards,
Tom Ogilvy



"lc" wrote in message


oups.com...


- Hide quoted text -
- Show quoted text -

What I really want to do is to link each selection with a differenct
cell. For example, if my input range consists of the following
information:


1. a
2. b
3. c
4. d



The cells I want my selection to link to is:



1. C100
2. A20
3. D40
4. F50



When I select "a" from the combo box, it will go to the cell C100.
When I select "b" from the combo box, it will go to cell A20.
etc.



I hope this clarifies my question



Thanks.




Reply





lc Sep 6, 9:40 am show options

Newsgroups: microsoft.public.excel.programming
From: "lc" - Find messages by this author
Date: 6 Sep 2005 07:40:51 -0700
Local: Tues, Sep 6 2005 9:40 am
Subject: Combobox question
Reply | Reply to Author | Forward | Print | Individual Message | Show
original | Remove | Report Abuse

Hi,


I was wondering what the code would be if I want it to select sheets
instead of cells. I have tried changing "C100, A20, D40, F50" to the
sheet names but it did not work.


Any help would be greatly appreciated.


Thanks.


lc

 
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
Answers to questions posing more questions in a workbook sbelle1 Excel Worksheet Functions 2 August 8th 09 01:02 AM
fill combobox depending on selection from another combobox Adam Francis Excel Discussion (Misc queries) 2 July 24th 08 07:39 PM
View Questions and Answer to questions I created Roibn Taylor Excel Discussion (Misc queries) 4 July 24th 08 12:05 AM
2 questions! Related to combobox and time function. HELP!! Bruno Excel Discussion (Misc queries) 11 September 28th 07 02:33 PM
Questions About ComboBox Chaplain Doug Excel Programming 3 February 25th 05 02:51 PM


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