PC Review


Reply
Thread Tools Rate Thread

Conditional Protection question

 
 
sparkmanrl@yahoo.com
Guest
Posts: n/a
 
      5th Mar 2009
Hi,

I have a question about setting up my workbook to do conditional
protection. I have searched the internet for quite some time trying to
find a solution to this problem.

As background, our users want to populate a 12 month forecast with
actuals from the complete month, and they want to be able to key in a
number for the future months.

Here's the situation: on tab1, called Instructions, I have a cell B9
that stores a value "Y" or "N". This corresponds to whether January
should be populated with Actuals or not.

On another tab, tab4, called Plan, if the value in Instructions!B9 is
Y, then column J is populated from the Actuals tab, but if the value
in Instructions!B9 is N, the cell is populated with 0.

I am able to accomplish everything with If statements through normal
Excel formulas. The thing I'm missing, though, is I would like to be
able to protect the column if it's being populated with Actuals so
that the user cannot overwrite the values that are populated from the
Actuals tab.

I have seen a very close example of this, so I think it's possible,
but I haven't been able to get it to work, and also I am confused
about a few points of coding. If someone can show me an example of how
to code this, I would very much appreciate it, especially if they
would comment it well enough for me to follow it.

Here's the sort of things that confuse me as a total newbie:

1. Where do I put the code?
2. How do I refer to a value on another tab of the worksheet?

Regards,

Robert Sparkman
 
Reply With Quote
 
 
 
 
Shane Devenshire
Guest
Posts: n/a
 
      5th Mar 2009
Hi,

See the solution on your other post. Also, it is bad practice to cross post.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"(E-Mail Removed)" wrote:

> Hi,
>
> I have a question about setting up my workbook to do conditional
> protection. I have searched the internet for quite some time trying to
> find a solution to this problem.
>
> As background, our users want to populate a 12 month forecast with
> actuals from the complete month, and they want to be able to key in a
> number for the future months.
>
> Here's the situation: on tab1, called Instructions, I have a cell B9
> that stores a value "Y" or "N". This corresponds to whether January
> should be populated with Actuals or not.
>
> On another tab, tab4, called Plan, if the value in Instructions!B9 is
> Y, then column J is populated from the Actuals tab, but if the value
> in Instructions!B9 is N, the cell is populated with 0.
>
> I am able to accomplish everything with If statements through normal
> Excel formulas. The thing I'm missing, though, is I would like to be
> able to protect the column if it's being populated with Actuals so
> that the user cannot overwrite the values that are populated from the
> Actuals tab.
>
> I have seen a very close example of this, so I think it's possible,
> but I haven't been able to get it to work, and also I am confused
> about a few points of coding. If someone can show me an example of how
> to code this, I would very much appreciate it, especially if they
> would comment it well enough for me to follow it.
>
> Here's the sort of things that confuse me as a total newbie:
>
> 1. Where do I put the code?
> 2. How do I refer to a value on another tab of the worksheet?
>
> Regards,
>
> Robert Sparkman
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional Protection Robert Microsoft Excel Programming 2 9th Mar 2009 02:45 PM
Conditional Protection sparkmanrl@yahoo.com Microsoft Excel Misc 1 5th Mar 2009 05:47 PM
Conditional protection question Robert Microsoft Excel Discussion 1 5th Mar 2009 04:27 PM
?Conditional protection yorkeyite Microsoft Excel Programming 3 5th Aug 2004 11:10 PM
Conditional protection yorkeyite Microsoft Excel Programming 1 5th Aug 2004 02:44 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:58 PM.