#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Headers

Is there a way to use an IF statement in the Header? For example could I
change the Header based on a "X" in a certain cell?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Headers

Frank,

The answere is Yes.

Select TOOLS|Macros

Turn your record macros on.

Enter a header, then turn record macros off.

Now you have captured the code to create headers.

Go to the VBA editor and use some IF-Then code to insert the header you
want, or the named range of the header you want.




"Frank E" wrote in message
...
Is there a way to use an IF statement in the Header? For example could I
change the Header based on a "X" in a certain cell?



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
lookup using column headers and row headers Memphus01 Excel Discussion (Misc queries) 1 April 13th 09 04:57 PM
need help with row headers Jen Excel Worksheet Functions 1 August 2nd 07 05:14 PM
headers Bethann Excel Worksheet Functions 1 September 15th 06 02:53 PM
Headers Holden Caulfield Excel Discussion (Misc queries) 1 April 26th 06 09:59 PM
Help with Headers jessica Excel Discussion (Misc queries) 0 April 6th 05 06:41 PM


All times are GMT +1. The time now is 03:25 PM.

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"