Hello
this is my first post here, i am a new intern who was handed a task to find out of you can make some modifications to an EXCEL file based on some conditions
it is a job posting list, of a variety of data. the key data is
Date awarded date approved date moved
basically i am to change the cell color in date moved column if the date in DATE MOVED is greater than 7 days to RED
i have tried to work with VB script editor but i haven't the foggiest idea how to implement it...i have worked alot with VB in the past so i do know some things...
here is what i have so far
Dim DateAwarded As Date
Dim DateApproved As Date
Dim DateMoved As Date
DateAwarded = 6: k7 (i am not sure if this is even right)
DateApproved = 6: l7
DateMoved = 6: M7
If (DateMoved = DateApproved) Then
'change color of cell to green
Else
If (DateMoved > DateApproved) And (DateMoved < DateApproved + 7) Then
'Change color to yellow
Else
If (DateMoved > (DateApproved + 7)) Then
'Change Color to Red
End If
there are a bunch of other things they want me to check on like E-MAILING and so forth but that is a little down the road.
anyone who looks at this i appreciate it
leeland
this is my first post here, i am a new intern who was handed a task to find out of you can make some modifications to an EXCEL file based on some conditions
it is a job posting list, of a variety of data. the key data is
Date awarded date approved date moved
basically i am to change the cell color in date moved column if the date in DATE MOVED is greater than 7 days to RED
i have tried to work with VB script editor but i haven't the foggiest idea how to implement it...i have worked alot with VB in the past so i do know some things...
here is what i have so far
Dim DateAwarded As Date
Dim DateApproved As Date
Dim DateMoved As Date
DateAwarded = 6: k7 (i am not sure if this is even right)
DateApproved = 6: l7
DateMoved = 6: M7
If (DateMoved = DateApproved) Then
'change color of cell to green
Else
If (DateMoved > DateApproved) And (DateMoved < DateApproved + 7) Then
'Change color to yellow
Else
If (DateMoved > (DateApproved + 7)) Then
'Change Color to Red
End If
there are a bunch of other things they want me to check on like E-MAILING and so forth but that is a little down the road.
anyone who looks at this i appreciate it
leeland