Results 1 to 5 of 5

expand cells

Threaded View

  1. #1
    Registered User
    Join Date
    02-06-2009
    Location
    england
    MS-Off Ver
    Excel 2003
    Posts
    9

    expand cells

    I was just wondering if anyone out there knows of a way to have a dropdown/select box set to a fixed width i.e. 12.5, but when you open it, the dropdown portion will automatically expand to the largest item in the list, and when you select the item, have the dropdown resize back to the 12.5 size?

    The only thing i could find online is

    Private Sub Worksheet_SelectionChange(ByVal Target As Range)
    If Target.Address = "$D$1" Then
    ActiveWindow.Zoom = 120
    Else
    ActiveWindow.Zoom = 100
    End If
    End Sub
    Which will zoom into the cell when its selected but doesnt expand the cell...

    Any ideas??

    Thanks
    Last edited by VBA Noob; 02-06-2009 at 01:40 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1