PC Review


Reply
Thread Tools Rate Thread

How can I attach a combobox to a cell and have it resize if the column width is alterd

 
 
FREDERICK JACKSON
Guest
Posts: n/a
 
      23rd Nov 2007
Hi, I have a worksheet which was given to me which already has a Combobox
attached to a cell within the worksheet and when a selection is made from
the drop-down box a value can be chosen from a lookup range of cells
located lower in the worksheet.

I have tried to edit the existing Combobox on the sheet to use as an example
but it could be that whoever made the original has applied protection
because no editing can be done.

I have tried every way I can think of to find how to attach a Combobox from
the Control toolbox into a cell on a new workbook but without success.

I can get a Combobox onto the worksheet but not as part of a cell. I can get
the Combobox to resize too when the column width is adjusted but .... the
whole thing becomes stretched and distorted and doesn't act as if it
embedded within the cell. The Combobox on the original worksheet always
remains proportioned exactly. I have tried setting the properties and the
format values but still no joy.

Am I missing a trick here ?
Any advice would be welcome

Regards

Fred


 
Reply With Quote
 
 
 
 
SAPkannan@gmail.com
Guest
Posts: n/a
 
      25th Nov 2007
Hi Fred,

Instead of inserting a module, you can paste the codes in Sheet1
(Sheet1) in VBA

Thnx
Kannan
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamically Resize Gridview Width Property (NOT Column Width) Hartman_Ralph@Hotmail.com Microsoft ASP .NET 0 2nd Jun 2009 04:59 PM
Resize column width based on page setup settings? Joel Mills Microsoft Excel Programming 1 4th Jan 2005 03:41 PM
Resize Excel column's width automatically =?Utf-8?B?QXN0cm8gSiBEb2c=?= Microsoft Excel Misc 1 30th Sep 2004 03:11 AM
Datagrid Column Width Resize Event? Asgorath Microsoft VB .NET 0 28th Sep 2004 05:02 PM
Column width resize does not stay set PeachyMarie Microsoft Access 1 1st Mar 2004 06:10 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:54 PM.