ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Cell manipulation (https://www.excelbanter.com/excel-programming/314805-cell-manipulation.html)

John F[_2_]

Cell manipulation
 
Looking to have certain cells ( where lock=false ) to have yellow background.
Else, standard white background.

This should allow me to run macro whenever I want, in the event that cell
locking
or unlocking was changed.
Assuming this would be a macro, for ease of use, I would prefer to be able
to operate this from a button on my custom personal macro toolbar.

John F. Scholten

Dave Peterson[_3_]

Cell manipulation
 
Are you using format|conditional formatting for anything on that worksheet?

If no,
select A1
hit ctrl-a (twice in xl2003)
format|conditional formatting
formula is:

=CELL("protect",A1)=0

format nicely (Pattern tab)

John F wrote:

Looking to have certain cells ( where lock=false ) to have yellow background.
Else, standard white background.

This should allow me to run macro whenever I want, in the event that cell
locking
or unlocking was changed.
Assuming this would be a macro, for ease of use, I would prefer to be able
to operate this from a button on my custom personal macro toolbar.

John F. Scholten


--

Dave Peterson


John F[_2_]

Cell manipulation
 
Dave:
Not quite what I had in mind.
Thanks for your response.
Sorry for posting this on programming group.
I have "moved" it to new user - more appropriate, I think.

John F.

"Dave Peterson" wrote:

Are you using format|conditional formatting for anything on that worksheet?

If no,
select A1
hit ctrl-a (twice in xl2003)
format|conditional formatting
formula is:

=CELL("protect",A1)=0

format nicely (Pattern tab)

John F wrote:

Looking to have certain cells ( where lock=false ) to have yellow background.
Else, standard white background.

This should allow me to run macro whenever I want, in the event that cell
locking
or unlocking was changed.
Assuming this would be a macro, for ease of use, I would prefer to be able
to operate this from a button on my custom personal macro toolbar.

John F. Scholten


--

Dave Peterson




All times are GMT +1. The time now is 05:52 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com