Solved

Excel VBA programatically place a ComboBox over cell

Posted on 2012-03-16
2
304 Views
Last Modified: 2012-03-16
Hi

In VBA is it possible to programatically place a ComboBox over the cells in Row 1 of the spreadsheet
0
Comment
Question by:murbro
2 Comments
 
LVL 24

Accepted Solution

by:
StephenJR earned 500 total points
ID: 37729984
A forms combo box -
With ActiveSheet.DropDowns.Add(142.5, 38.25, 108.75, 24)
    .Top = Range("C1").Top
    .Left = Range("C1").Left
End With

Open in new window

Or just
ActiveSheet.DropDowns.Add(Range("C1").Left, Range("C1").Top, 108.75, 24).Select

Open in new window

0
 

Author Closing Comment

by:murbro
ID: 37730486
thanks very much
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now