Excel VBA, Apply Fill Pattern to Sheet
Jump To:
–
Apply Fill Pattern to Sheet:
The following line of code applies the Reverse Diagonal Stripe fill pattern to sheet 1:
Sheet1.Cells.Interior.Pattern = xlDown
Before:
After:
–
Modify Sheet’s Fill Pattern Color:
The line below changes the color of the fill pattern for Sheet 1 to green:
Sheet1.Cells.Interior.PatternColor = ColorConstants.vbGreen
Before:
After:
See also:
If you need assistance with your code, or you are looking for a VBA programmer to hire feel free to contact me. Also please visit my website www.software-solutions-online.com