Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Extracting value from Combination drop down-edit box

I'm new at this so please be easy on me. I'm using MS Excel 2000

My problem is I'm tring to extract user information from a Combination drop
down-edit box from the Userform/dialogsheet and place it on a spredsheet. The
cell link for the list control works fine but when the user enters data that
is not in the list I need to extract it. the code I've been using works fine
for a editbox, but does not work for the Combination box. I'm sure it's just
a "KeyWord" Issue, but I'm at a lost for it. I was using the "keyword"
EditBox for extracting the infomation for the edit box what would it be for
the Combination drop down-edit box?

Sample Code:

Sheets("{Sheet Name}").Select
Range("{Cell Name}").Value = DialogSheets("{dialogsheet
name}").EditBoxes("{Control Name}").Text

Thanks..
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 39
Default Extracting value from Combination drop down-edit box

Bob,

I don't know much about DialogSheets, but this usually works with my
UserForms (assumes the form you have is named UserForm1 and the combobox is
named Combobox1):

Sheets("{Sheet Name}").Select
Range("{Cell Name}").Value = UserForm1.Combobox1.Value

If you are executing the code while the UserForm has the focus, you probably
don't even need to specify UserForm1
Dave



"Mr.Bob" wrote:

I'm new at this so please be easy on me. I'm using MS Excel 2000

My problem is I'm tring to extract user information from a Combination drop
down-edit box from the Userform/dialogsheet and place it on a spredsheet. The
cell link for the list control works fine but when the user enters data that
is not in the list I need to extract it. the code I've been using works fine
for a editbox, but does not work for the Combination box. I'm sure it's just
a "KeyWord" Issue, but I'm at a lost for it. I was using the "keyword"
EditBox for extracting the infomation for the edit box what would it be for
the Combination drop down-edit box?

Sample Code:

Sheets("{Sheet Name}").Select
Range("{Cell Name}").Value = DialogSheets("{dialogsheet
name}").EditBoxes("{Control Name}").Text

Thanks..

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Extracting value from Combination drop down-edit box

That Works fine for userforms environment but not in the DialogSheets
environment. Thanks anyway.

"drhalter" wrote:

Bob,

I don't know much about DialogSheets, but this usually works with my
UserForms (assumes the form you have is named UserForm1 and the combobox is
named Combobox1):

Sheets("{Sheet Name}").Select
Range("{Cell Name}").Value = UserForm1.Combobox1.Value

If you are executing the code while the UserForm has the focus, you probably
don't even need to specify UserForm1
Dave



"Mr.Bob" wrote:

I'm new at this so please be easy on me. I'm using MS Excel 2000

My problem is I'm tring to extract user information from a Combination drop
down-edit box from the Userform/dialogsheet and place it on a spredsheet. The
cell link for the list control works fine but when the user enters data that
is not in the list I need to extract it. the code I've been using works fine
for a editbox, but does not work for the Combination box. I'm sure it's just
a "KeyWord" Issue, but I'm at a lost for it. I was using the "keyword"
EditBox for extracting the infomation for the edit box what would it be for
the Combination drop down-edit box?

Sample Code:

Sheets("{Sheet Name}").Select
Range("{Cell Name}").Value = DialogSheets("{dialogsheet
name}").EditBoxes("{Control Name}").Text

Thanks..

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
Edit Drop Down List Lynn S Excel Worksheet Functions 1 September 29th 06 05:23 PM
Edit Drop down box kamill Excel Discussion (Misc queries) 2 August 12th 05 02:01 AM
"combination drop-down edit " form activation in Excel Trev Excel Discussion (Misc queries) 1 March 4th 05 03:26 AM
edit a drop down list paulp Excel Discussion (Misc queries) 1 December 22nd 04 03:20 PM
How to create a "combination drop-down edit" box? Rocko[_2_] Excel Programming 3 July 30th 04 10:32 PM


All times are GMT +1. The time now is 09:24 AM.

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"