![]() |
How to create an "IF - THEN" macro
Is there a way to create a macro that will highlight a range, fill it with color and change the font color upon entering a date into a specific cell? Example below shows how I have my headings. I want to create a macro that once I type a date in cell "F1" (date closed) that it will highlight range "A1-F1" fill in the range with a light yellow and gray the text. Company Fname Lname Date Recvd Date Due Date Closed Any help would be greatly appreciated. Thank you. -- TXNDe ------------------------------------------------------------------------ TXNDe's Profile: http://www.excelforum.com/member.php...o&userid=36253 View this thread: http://www.excelforum.com/showthread...hreadid=560457 |
How to create an "IF - THEN" macro
as Nick says it will wok you can also grey the text =LEFT(CELL("format",F1),1)="d" as a formula in conditional formating may also work looking for a date format Regards Dav -- Dav ------------------------------------------------------------------------ Dav's Profile: http://www.excelforum.com/member.php...o&userid=27107 View this thread: http://www.excelforum.com/showthread...hreadid=560457 |
How to create an "IF - THEN" macro
Just wanted to say thank you. The suggestions worked perfectly. -- TXNDe ------------------------------------------------------------------------ TXNDe's Profile: http://www.excelforum.com/member.php...o&userid=36253 View this thread: http://www.excelforum.com/showthread...hreadid=560457 |
All times are GMT +1. The time now is 02:36 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com