+ Reply to Thread
Results 1 to 3 of 3

run-time error '1004' unable to set the height property of the window class

  1. #1
    Registered User
    Join Date
    10-25-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2

    Exclamation run-time error '1004' unable to set the height property of the window class

    Hi
    I have a macro that opens a worksheet window that seems to work fine in Windows XP but not in Windows 7. On windows 7 I get a "run-time error '1004' unable to set the height property of the window class" Vba message. I select debug and the ".Height = 24" part of the script below is selected in yellow. I don't get this on a windows XP machine. I've tried running eXcel in Windows XP compatability mode and and has no effect. Any ideas???

    Thanks in advance......

    Please Login or Register  to view this content.
    Last edited by xceldummy; 10-27-2011 at 06:37 PM.

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: run-time error '1004' unable to set the height property of the window class

    Hi xceldummy

    Welcome to the Forum....

    Please wrap your code in code tags, before the moderators get you...

    Click here - Forum rules
    3. Use code tags around code. Posting code without them makes your code hard to read and difficult to be copied for testing. Highlight your code and click the # button at the top of the post window. If you are editing an existing post, press Go Advanced to see the # button.
    Cheers

  3. #3
    Registered User
    Join Date
    10-25-2011
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2

    Smile Re: run-time error '1004' unable to set the height property of the window class

    Quote Originally Posted by Marcol View Post
    Hi xceldummy

    Welcome to the Forum....

    Please wrap your code in code tags, before the moderators get you...

    Click here - Forum rules


    Cheers
    Many thabks Marcol, consider my wrist slapped!!!

+ Reply to Thread

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