Good day everybody!
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com
ffice
ffice" /><o
></o
>
I got an urgent excel problem at work and I hope someone will help me solve it.
I have to mention though that I don’t have any clue about VBA AT ALL, so please be patient with me.
<o
></o
>
Following Problem:
I have a file to keep record of various projects for each month.
In column A the users enter the current month (January projects, February projects…).
As soon as they start entering a new month for the first time, I want that the cell backgrounds of the entire row gets colored light green and the month (e.g. A2) turns into bold font.
So basically IF A2<>A1, color A2:W2 in light green.
<o
></o
>
<?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /><v:shapetype id=_x0000_t75 stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" o
referrelative="t" o:spt="75" coordsize="21600,21600"><v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f eqn="prod @3 21600 pixelWidth"></v:f><v:f eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f eqn="sum @10 21600 0"></v:f></v:formulas><v
ath o:connecttype="rect" gradientshapeok="t" o:extrusionok="f"></v
ath><o:lock aspectratio="t" v:ext="edit"></o:lock></v:shapetype>
<o
><v:shapetype id=_x0000_t75 stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" o
referrelative="t" o:spt="75" coordsize="21600,21600"><v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f eqn="prod @3 21600 pixelWidth"></v:f><v:f eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f eqn="sum @10 21600 0"></v:f></v:formulas><v
ath o:connecttype="rect" gradientshapeok="t" o:extrusionok="f"></v
ath><o:lock aspectratio="t" v:ext="edit"></o:lock></v:shapetype></o
>
<o
></o
>
MONTH | PROJECT NO. | STATUS<o
></o
>
JAN <o
></o
>
JAN
JAN <o
></o
>
FEB <o
></o
>
FEB <o
></o
>
FEB <o
></o
>
MAR <o
></o
>
MAR
Since I am already using other conditional formatting in all cells (e.g. IF C2=closed change font color in row 2 to grey, IF C2=cancelled, change it to red), it doesn’t work if I add this as 3<SUP>rd</SUP> condition. Because this way if it turns to green, then my font will turn automatically to black, even if it’s a cancelled project.
So I think I need a VBA for this one.
<o
></o
>
Can someone please please help me and also tell me where to enter the VBA in my workbook and how have it automatically applied?
<o
></o
>
Thanks so much, your help is really appreciated!
<o
></o
>
Ciao Lea
PS: Sorry, I couldn't figure out how to insert a picture in my post...
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com




I got an urgent excel problem at work and I hope someone will help me solve it.
I have to mention though that I don’t have any clue about VBA AT ALL, so please be patient with me.
<o


Following Problem:
I have a file to keep record of various projects for each month.
In column A the users enter the current month (January projects, February projects…).
As soon as they start entering a new month for the first time, I want that the cell backgrounds of the entire row gets colored light green and the month (e.g. A2) turns into bold font.
So basically IF A2<>A1, color A2:W2 in light green.
<o


<?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /><v:shapetype id=_x0000_t75 stroked="f" filled="f" path="m@4@5l@4@11@9@11@9@5xe" o



<o





<o


MONTH | PROJECT NO. | STATUS<o


JAN <o


JAN
JAN <o


FEB <o


FEB <o


FEB <o


MAR <o


MAR
Since I am already using other conditional formatting in all cells (e.g. IF C2=closed change font color in row 2 to grey, IF C2=cancelled, change it to red), it doesn’t work if I add this as 3<SUP>rd</SUP> condition. Because this way if it turns to green, then my font will turn automatically to black, even if it’s a cancelled project.
So I think I need a VBA for this one.
<o


Can someone please please help me and also tell me where to enter the VBA in my workbook and how have it automatically applied?
<o


Thanks so much, your help is really appreciated!
<o


Ciao Lea
PS: Sorry, I couldn't figure out how to insert a picture in my post...
Last edited: