Solved

Excel VBA programatically place a ComboBox over cell

Posted on 2012-03-16
2
302 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
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 demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.

759 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

19 Experts available now in Live!

Get 1:1 Help Now