LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 770
Default ComboBox move and size

Tarun,

This works for one from the Controls Toolbox:

ActiveSheet.OLEObjects("ComboBox1").Placement = xlMoveAndSize

hth,

Doug Glancy

"Tarun Gupta" wrote in message
om...
When you right click on a comboBox in an excel spreadheet, you get a
"Format Object" option. Clicking on it opens up a window that lets you
set some properties for that control. If you go to the properties tab
then, it allows to select whether you want to move and size the
comboBox along with the cell in which it is contained. Is it possible
to set this property dynamically for a combo box through VBA code? i
am adding comboBoxes dynamically and would like to set this property
to "Move and size with cells".

Thanks
Tarun



 
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
How do I move and size a picture with a cell but keep the aspect r Gidmark Excel Discussion (Misc queries) 2 July 2nd 09 12:31 PM
combobox text size CraigSA Excel Discussion (Misc queries) 0 May 18th 06 02:46 PM
Combobox to fit the size of a cell Lotus123 Excel Worksheet Functions 0 November 7th 05 05:07 AM
Font Size for Forms ComboBox in Excel J Excel Worksheet Functions 1 March 22nd 05 08:33 PM
TextBox Properties -- Don't move and size with cells Fred Holmes Excel Programming 1 September 4th 03 10:45 PM


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