Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 88
Default Changing color on a range of cells

Hi all.

I have a spreadsheet that I distribute to up to 4 people
in my office (depending on what account we are on) These
recipients fill out data in specific order that is based
on the prior persons infomation input.

My spreadsheet e-mails the file to the next person in line
and I have found that because the spreadsheet is not
password protected, some of the users have entered data in
the wrong cells and thus causing a major problem in
reporting.

What I want to do is color the specific cells availible
for that user based on the name of each User. In cell D11-
G11 I have range names(Person1,Person2...)set up with the
users names and I have a seperate cell C3 (CurrentName)
that says whos turn it is to enter data. The users
availble cells to enter data in is located directly under
their name, but goes down about 100 rows so the chance of
an error increases when the top line disapears off the top
of the screen. (Freezing that cell won't work in this
application) How can I change the color of these 100 cells
so the user has a visual reference as to what cells they
are working with.

The spreadsheet is set up with a macro button that
calculates the final info and sends an e-mail to a
dedicated server for backup filing. When this macro is
preformed I cycle the Users name and e-mail the saved file
to the next user and then want to change the cell colors
in line with the next users name.

Can anyone help me with this?

Thanks and Have a Happy new Year.
Pete
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Changing color on a range of cells

Pete,

Try Data Validation.

Select cells D12:G111 (or greater)
Goto menu FormatConditional Formatting
Change Condition 1 to Formula Is
Add a formula of =$C$3=D$11 (note the $ etc)
Click the Format button
Select a font colour
Select the pattern tab
Select a cell colour
OK
OK

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Pete" wrote in message
...
Hi all.

I have a spreadsheet that I distribute to up to 4 people
in my office (depending on what account we are on) These
recipients fill out data in specific order that is based
on the prior persons infomation input.

My spreadsheet e-mails the file to the next person in line
and I have found that because the spreadsheet is not
password protected, some of the users have entered data in
the wrong cells and thus causing a major problem in
reporting.

What I want to do is color the specific cells availible
for that user based on the name of each User. In cell D11-
G11 I have range names(Person1,Person2...)set up with the
users names and I have a seperate cell C3 (CurrentName)
that says whos turn it is to enter data. The users
availble cells to enter data in is located directly under
their name, but goes down about 100 rows so the chance of
an error increases when the top line disapears off the top
of the screen. (Freezing that cell won't work in this
application) How can I change the color of these 100 cells
so the user has a visual reference as to what cells they
are working with.

The spreadsheet is set up with a macro button that
calculates the final info and sends an e-mail to a
dedicated server for backup filing. When this macro is
preformed I cycle the Users name and e-mail the saved file
to the next user and then want to change the cell colors
in line with the next users name.

Can anyone help me with this?

Thanks and Have a Happy new Year.
Pete



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 88
Default Changing color on a range of cells

Thank you that worked great. Now what if I were to really
get anal and say this still may not be a absolute solver
of my problem.

I want to protect the entire sheet except for the range of
cells that are active. So user 2 can input data into users
3 column.

Pete


-----Original Message-----
Pete,

Try Data Validation.

Select cells D12:G111 (or greater)
Goto menu FormatConditional Formatting
Change Condition 1 to Formula Is
Add a formula of =$C$3=D$11 (note the $ etc)
Click the Format button
Select a font colour
Select the pattern tab
Select a cell colour
OK
OK

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Pete" wrote in

message
...
Hi all.

I have a spreadsheet that I distribute to up to 4 people
in my office (depending on what account we are on) These
recipients fill out data in specific order that is based
on the prior persons infomation input.

My spreadsheet e-mails the file to the next person in

line
and I have found that because the spreadsheet is not
password protected, some of the users have entered data

in
the wrong cells and thus causing a major problem in
reporting.

What I want to do is color the specific cells availible
for that user based on the name of each User. In cell

D11-
G11 I have range names(Person1,Person2...)set up with

the
users names and I have a seperate cell C3 (CurrentName)
that says whos turn it is to enter data. The users
availble cells to enter data in is located directly

under
their name, but goes down about 100 rows so the chance

of
an error increases when the top line disapears off the

top
of the screen. (Freezing that cell won't work in this
application) How can I change the color of these 100

cells
so the user has a visual reference as to what cells they
are working with.

The spreadsheet is set up with a macro button that
calculates the final info and sends an e-mail to a
dedicated server for backup filing. When this macro is
preformed I cycle the Users name and e-mail the saved

file
to the next user and then want to change the cell colors
in line with the next users name.

Can anyone help me with this?

Thanks and Have a Happy new Year.
Pete



.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Changing color on a range of cells

Pete,

You'd need VBA. Up for it?

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Pete" wrote in message
...
Thank you that worked great. Now what if I were to really
get anal and say this still may not be a absolute solver
of my problem.

I want to protect the entire sheet except for the range of
cells that are active. So user 2 can input data into users
3 column.

Pete


-----Original Message-----
Pete,

Try Data Validation.

Select cells D12:G111 (or greater)
Goto menu FormatConditional Formatting
Change Condition 1 to Formula Is
Add a formula of =$C$3=D$11 (note the $ etc)
Click the Format button
Select a font colour
Select the pattern tab
Select a cell colour
OK
OK

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Pete" wrote in

message
...
Hi all.

I have a spreadsheet that I distribute to up to 4 people
in my office (depending on what account we are on) These
recipients fill out data in specific order that is based
on the prior persons infomation input.

My spreadsheet e-mails the file to the next person in

line
and I have found that because the spreadsheet is not
password protected, some of the users have entered data

in
the wrong cells and thus causing a major problem in
reporting.

What I want to do is color the specific cells availible
for that user based on the name of each User. In cell

D11-
G11 I have range names(Person1,Person2...)set up with

the
users names and I have a seperate cell C3 (CurrentName)
that says whos turn it is to enter data. The users
availble cells to enter data in is located directly

under
their name, but goes down about 100 rows so the chance

of
an error increases when the top line disapears off the

top
of the screen. (Freezing that cell won't work in this
application) How can I change the color of these 100

cells
so the user has a visual reference as to what cells they
are working with.

The spreadsheet is set up with a macro button that
calculates the final info and sends an e-mail to a
dedicated server for backup filing. When this macro is
preformed I cycle the Users name and e-mail the saved

file
to the next user and then want to change the cell colors
in line with the next users name.

Can anyone help me with this?

Thanks and Have a Happy new Year.
Pete



.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing color of a range of cells dending up on a value in anothr Srajes New Users to Excel 1 June 16th 09 01:35 AM
Changing the color of highlighted cells krish Excel Discussion (Misc queries) 1 March 2nd 09 11:05 PM
Changing the color of a selected range zhj23 Excel Discussion (Misc queries) 0 June 14th 07 02:38 PM
color changing of cells changetires Excel Discussion (Misc queries) 7 June 15th 06 07:43 PM
Changing color of cells Carl Brehm Excel Programming 5 October 31st 03 12:27 PM


All times are GMT +1. The time now is 08:40 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"