How to deate Conditional statement for the header

  • Thread starter Thread starter WuiChi
  • Start date Start date
W

WuiChi

I have been task to have an image appear in the Header if a cell contains a
value. For instace if A8 is not null then have "SOLD" appear in the header.
I am not use to programming in Excel. I usually work with Access. So if you
could lead me through this I would appreciate it . I am using office 2003

Thank you
 
I have been task to have an image appear in the Header if a cell contains a
value.  For instace if A8 is not null then have "SOLD" appear in the header.
I am not use to programming in Excel. I usually work with Access.  So ifyou
could lead me through this I would appreciate it .    I am using office 2003  

Thank you

Hi


Something like the following maybe:

With Sheets("Sheet1")
If Not IsEmpty(.Range("A8").Value) Then
.PageSetup.LeftHeader = "SOLD"
End If
End With

Richard
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top