+ Reply to Thread
Results 1 to 2 of 2

Modify parameter of an embedded chart in a protected worksheet

  1. #1
    Registered User
    Join Date
    04-24-2014
    Location
    Shanghai
    MS-Off Ver
    Excel 2010
    Posts
    4

    Unhappy Modify parameter of an embedded chart in a protected worksheet

    Hi Excel-friends,

    I have a chart in a protected worksheet and I need to modify the scaleMin and ScaleMax property, very frequently. The chart is showing online data from an OPC server and is updated two times in a second. Thats why I cam not unprotect the sheet, do the action and protect it afterwards.

    I am looking for a way, to modify the properties while the sheet and the chart are protected.

    What I have:

    Look inside my code:

    Please Login or Register  to view this content.
    Xcel_Charts.xlsm

    I get a runtime error (80004005), telling me that the method minimumScale has failed. In the moment I use Excel 2003 but later I want to run it in Excel2010.
    If I remove the protection of the sheet, it is running well.

    Excel Charts.JPG

    Please help me.
    Last edited by Burkhard; 04-24-2014 at 10:43 AM.

  2. #2
    Registered User
    Join Date
    04-24-2014
    Location
    Shanghai
    MS-Off Ver
    Excel 2010
    Posts
    4

    Thumbs up Re: Modify parameter of an embedded chart in a protected worksheet

    bump....

    Nobody here, knowing about locking/protection of sheets and charts, while allowing code to modify them?

+ 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. Modify width of one column in a protected worksheet
    By MSC_GG in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-25-2013, 04:10 AM
  2. [SOLVED] Can not Print Embedded Graph on Protected Worksheet with Macro
    By Henk Stander in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-27-2012, 06:54 AM
  3. Replies: 0
    Last Post: 08-22-2006, 05:45 PM
  4. Replies: 0
    Last Post: 08-22-2006, 05:45 PM
  5. Replies: 0
    Last Post: 08-22-2006, 05:45 PM

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