PC Review


Reply
Thread Tools Rate Thread

How to deate Conditional statement for the header

 
 
WuiChi
Guest
Posts: n/a
 
      11th Jan 2008
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
 
Reply With Quote
 
 
 
 
RichardSchollar
Guest
Posts: n/a
 
      11th Jan 2008
On 11 Jan, 16:25, WuiChi <Wui...@discussions.microsoft.com> wrote:
> 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
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: if header row leave a statement Susan Microsoft Excel Programming 0 11th Mar 2009 01:12 PM
Formatting Header in VBA select statement corkster Microsoft Access Form Coding 2 2nd Nov 2006 07:48 PM
PAGEREF in an IF statement in a header or footer when printing =?Utf-8?B?R2lsZXM=?= Microsoft Word Document Management 3 28th Sep 2006 11:36 AM
Using query results within Conditional Statement...sequenced conditional queries rafael.farias.jr@gmail.com Microsoft Access 3 30th Aug 2006 02:08 PM
Conditional Header Lee Microsoft Access Reports 2 20th Jul 2004 06:56 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:37 PM.