+ Reply to Thread
Results 1 to 5 of 5

Listbox Resizes after setting the IntegralHeight Property to False on others machines

  1. #1
    Registered User
    Join Date
    09-19-2012
    Location
    London
    MS-Off Ver
    Excel 2007 & 10
    Posts
    6

    Listbox Resizes after setting the IntegralHeight Property to False on others machines

    Hi all,

    Hopefully this just a quick one.

    I have created a dashboard using a number of ActiveX controls listboxes. I changed the intergalheight to False and set the zoom on an on open event. It works great and looks great on my PC. However when other colleagues opens the file on their machine and enables Macros for the sheet the Listboxes resize again.

    N.B Before they enable the Macro's the Listbox sizes are correct - it is only when they enable them they resize.

    Let me know your thoughts.

    Many Thanks,

    Ryan

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Listbox Resizes after setting the IntegralHeight Property to False on others machines

    ???
    Please Login or Register  to view this content.
    ????
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    22,016

    Re: Listbox Resizes after setting the IntegralHeight Property to False on others machines

    ActiveX controls + worksheets = weird sizing issues generally, especially if you are not using 100% zoom. If you must use controls on worksheets, use Forms ones if you can (not MSForms) - otherwise you are going to need more code o ensure they are sized properly.
    Everyone who confuses correlation and causation ends up dead.

  4. #4
    Registered User
    Join Date
    09-19-2012
    Location
    London
    MS-Off Ver
    Excel 2007 & 10
    Posts
    6

    Re: Listbox Resizes after setting the IntegralHeight Property to False on others machines

    thanks romperstomper do you have a sample of code I could try?

  5. #5
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    22,016

    Re: Listbox Resizes after setting the IntegralHeight Property to False on others machines

    Yes - have a read of this article: http://www.experts-exchange.com/Soft...orrection.html

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Invalid use of property - Listbox
    By Brumbot in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 03-20-2013, 09:05 AM
  2. page controls disappear when set multipage visible property to false
    By bdoodle in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-16-2011, 12:17 AM
  3. Sum values based on TRUE/FALSE property on different sheet?
    By grantpanderson in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-19-2010, 11:38 AM
  4. ListBox property
    By matrixknow in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-10-2007, 02:17 AM
  5. [SOLVED] Setting (Name) property programmatically
    By Chris in forum Excel General
    Replies: 5
    Last Post: 07-06-2005, 11:05 AM

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