+ Reply to Thread
Results 1 to 9 of 9

Run-time Error '1004' in a chart

  1. #1
    Forum Contributor
    Join Date
    06-23-2008
    Posts
    116

    Run-time Error '1004' in a chart

    Hi all:

    I receive the subject error "Unable to set the ScrollColumn property of the Window class" while generating a chart. What could cause this error to be displayed. Thanks in advance.

    - Ravi

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Run-time Error '1004' in a chart

    Sounds like you have code that's trying to set the scroll column while the chart is selected.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Contributor
    Join Date
    06-23-2008
    Posts
    116

    Re: Run-time Error '1004' in a chart

    Hi shg:

    Thank you for your kind email. Along with this issue, one user is receiving a Microsoft Visual Basic dialog box:

    "Compile error in hidden module: SumIf_MenuAndInit"

    The operating system is Windows Vista and Excel 2003. The application however has been saved as a 2003-2007 compatible Excel spreadsheet. Any thoughts on this? Thanks.

    - Ravi

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Run-time Error '1004' in a chart

    Did you write the code? Post the line that gives the error (or all of it).

  5. #5
    Forum Contributor
    Join Date
    06-23-2008
    Posts
    116

    Re: Run-time Error '1004' in a chart

    shg:

    Andy helped me a lot with this part of the code on Screen 7. I have zipped my copy of the relevant section for your kind review. Note, that I am not experiencing these issue and am using Windows XP Professional, and have Office 2007. Thank you.

    - Ravi

    PS: I have been getting a "Database Error" message from Exceltip each time I tried to upload the file. Is there an alternative way of sending you the attachment? Thanks.

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Run-time Error '1004' in a chart

    Try zipping it.

  7. #7
    Forum Contributor
    Join Date
    06-23-2008
    Posts
    116

    Re: Run-time Error '1004' in a chart

    The file was zipped. I'll give it another shot now. I still receive e the same database error message. Size of the file is 1,893KB.

    - Ravi

  8. #8
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Run-time Error '1004' in a chart

    I would think it's a safe bet you can comment out that line.
    Scrollcolumn sounds like something the macro record spat out whist you where using the scrollbar to move the sheet.
    Cheers
    Andy
    www.andypope.info

  9. #9
    Forum Contributor
    Join Date
    06-23-2008
    Posts
    116

    Re: Run-time Error '1004' in a chart

    Hi Andy:

    Interestingly this error does not show up on my PC (Windows XP, Microsoft Office 2007). This particular instance happens to be on a Windows Vista Operating system with Excel 2003. I was unable to duplicate this error (i.e., the ScrollColumn error). Even the Run time Error was for that particular user only. So not sure how to address it. Thanks for stepping in Andy.

    - Ravi

+ 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