Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default How can I use VBA to set the value of an ActiveX ComboBox

:-( I'll do that then. Thanks!

"PCLIVE" wrote:

In my first response, that method would be creating the ComboBox from the
Control Toolbox toolbar. I think that may work better.



"Harry F." wrote in message
...
It's an ActiveX control....I didn't actually create them, but they are not
from the Form Design menu. Would it be easier for me to recreate all of
these this way?

"PCLIVE" wrote:

How did you create your ComboBox "DropDown1176"?

"Harry F." wrote in message
...
Now I get an error "Method or data member not found".

"PCLIVE" wrote:

Try this:

Private Sub CheckBox6_Click()

If CheckBox6.Value = True Then
Me.DropDown1176.Value = a89
End If

End Sub


HTH,
Paul

"Harry F." wrote in message
...
Hi, I have a form with several ActiveX Combo Boxes. I also have
some
check
boxes. When one checkbox value is true, I want the combobox to
default
to
a
value, but when I put this code in, I get and "Object Not Defined"
error
message.

Private Sub CheckBox6_Click()

If CheckBox6.Value = True Then

Worksheet.DropDown1176.Value = a89

End If

End Sub


Keep in mind I know Access VBA, but my Excel VBA skills are limited.

Thanks,
Harry









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
ActiveX combobox aqualibra Excel Worksheet Functions 1 August 24th 08 07:54 AM
ActiveX Combobox and LinkedCell aqualibra Excel Worksheet Functions 2 August 21st 08 08:36 PM
publish activeX combobox and other activeX control irene c Excel Programming 0 March 19th 07 07:19 AM
How do I update contents of activeX combobox? Paul Silverman Excel Programming 1 September 20th 04 01:54 PM
HELP : ComboBox (Forms), Activex or What ? MIKO Excel Programming 3 July 1st 04 11:03 PM


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