ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   ComboBox Control on Worksheet (https://www.excelbanter.com/excel-programming/389359-combobox-control-worksheet.html)

[email protected]

ComboBox Control on Worksheet
 
Hi All,

I have added a combobox to a worksheet but it doesn't seem to show up
in the VBA editor in the auto help/fill. I can't even reference it by
typing the name any where in the code. Am I missing something? Thanks
for any help.


[email protected]

ComboBox Control on Worksheet
 
On May 14, 11:39 am, wrote:
Hi All,

I have added a combobox to a worksheet but it doesn't seem to show up
in the VBA editor in the auto help/fill. I can't even reference it by
typing the name any where in the code. Am I missing something? Thanks
for any help.


Nevermind!!


Dan Casey[_2_]

ComboBox Control on Worksheet
 
Jason,

If you are referencing it from ThisWorkbook or a user module, you will need
to include the name of the Sheet Object. For example, if it is embedded in
Sheet1 then it would be Sheet1.ComboBox1 (or the specific name of your combo
box control).

You should see the name directly if you are referencing it from the Sheet
object that has the control.

hope that helps,
dan




" wrote:

Hi All,

I have added a combobox to a worksheet but it doesn't seem to show up
in the VBA editor in the auto help/fill. I can't even reference it by
typing the name any where in the code. Am I missing something? Thanks
for any help.




All times are GMT +1. The time now is 06:02 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com