ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Fill property (https://www.excelbanter.com/excel-programming/331018-fill-property.html)

sip8316

Fill property
 
I am using this line of code to change the Fill color of a cell, it works
fine but what code can I use to set it back to NO FILL do to certain
circumstances?

Tom Ogilvy

Fill property
 
since you didn't show your line of code, here is a general example:

ActiveCell.Interior.ColorIndex = xlNone

--
Regards,
Tom Ogilvy

"sip8316" wrote in message
...
I am using this line of code to change the Fill color of a cell, it works
fine but what code can I use to set it back to NO FILL do to certain
circumstances?




sip8316

Fill property
 
Thanks,

That did it, and sorry I thought I pasted and copied

"Tom Ogilvy" wrote:

since you didn't show your line of code, here is a general example:

ActiveCell.Interior.ColorIndex = xlNone

--
Regards,
Tom Ogilvy

"sip8316" wrote in message
...
I am using this line of code to change the Fill color of a cell, it works
fine but what code can I use to set it back to NO FILL do to certain
circumstances?






All times are GMT +1. The time now is 09:16 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com