Results 1 to 6 of 6

Chart formatting .top error

Threaded View

  1. #1
    Registered User
    Join Date
    08-30-2012
    Location
    Inmy, Head
    MS-Off Ver
    Excel 2007
    Posts
    2

    Chart formatting .top error

    I created a sheet in XL 2003 and was recently upgraded to 2007 and some of my scripts are failing.

    I have charts that the users can zoom in on to get a better look.
    The debug points to the .Top = 0

    So I assume all the formatting is wrong

    Here is the script example.
    ------------------------------------------------
    Sub CHARTACD()
    ActiveSheet.ChartObjects("Chart 16").Activate
        ActiveChart.ShowWindow = True
        With ActiveWindow
            .Top = 0
            .Left = 0
            .Width = 750
            .Height = 500
        End With
        End Sub
    --------------------------------------------------
    Any help would be appreciated.
    Last edited by Cutter; 08-30-2012 at 08:22 PM. Reason: Added code tags

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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