Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How can I place a commandbutton just after column D as top = 0 by
vba ? Any suggestion ? Tanks in advance. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Something like this will put a combobox over E1 (adjacent to D1):
Option Explicit Sub testme() Dim wks As Worksheet Dim myCell As Range Dim myCombo As OLEObject Set wks = Worksheets("sheet1") Set myCell = wks.Range("e1") With myCell Set myCombo = wks.OLEObjects.Add(ClassType:="Forms.ComboBox.1", _ Link:=False, _ DisplayAsIcon:=False, _ Left:=.Left, _ Top:=.Top, _ Width:=.Width, _ Height:=.Height) End With End Sub On 01/13/2011 05:55, wrote: How can I place a commandbutton just after column D as top = 0 by vba ? Any suggestion ? Tanks in advance. -- Dave Peterson |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Thanks Dave, works charmingly ! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Placing an UDF | Excel Worksheet Functions | |||
placing.. 1st, 2nd, 3rd... | Excel Discussion (Misc queries) | |||
placing | Excel Worksheet Functions | |||
placing controls | Excel Programming |