+ Reply to Thread
Results 1 to 2 of 2

Sheet Protection and Hidden Cells Issues-Macro Related?

Hybrid View

rdsmit1 Sheet Protection and Hidden... 01-15-2009, 06:30 PM
shg For the first problem, see... 01-15-2009, 07:06 PM
  1. #1
    Registered User
    Join Date
    01-15-2009
    Location
    Charlotte, NC
    MS-Off Ver
    Excel 2003
    Posts
    1

    Sheet Protection and Hidden Cells Issues-Macro Related?

    I have a sheet that has an input section, then there is a section where it uses the inputs in user defined/added in funtion(s), there is also a chart on the page that plots the outputs from the functions. The chart has a dynamic range selection, which is done by a macro that runs everytime there is a change on the sheet.


    My goal is to lock the worksheet so users can only input data in the input section and not mess with the computated data nor chart. Or I would at least like to hide the computed data to prevent any accidentail or ignorant editing of the data.

    Here are the problems:

    when I lock the page (except for the inputs) then I change an iput it does change but the computations do not update and also I get an error from the macro. The error is: Run-time error '1004': Active methodof ChartObject class failed.


    When I select the coloums that the computations are in, right click and hide the colums, the chart goes blank like it cannot find the data!!! How can this be?? It also does the same thing if I select the colums and set the width to zero.


    I am wondering if the problem has something to do with the macro, or if it is a problem with the user/added in functions executing....


    Any help/insight is greatly appriciatied!

    Thanks!

    -Ryan

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689
    For the first problem, see Help for the UserInterfaceOnly argument to the Protect method.

    For the second, Tools > Options > Chart, untick Plot visible cells only
    Entia non sunt multiplicanda sine necessitate

+ 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