Does anybody know how to create the fill effect on Column B starting at cell 2 and going until there are no more values left in Column A in a macro.
Does anybody know how to create the fill effect on Column B starting at cell 2 and going until there are no more values left in Column A in a macro.
Did you want column B, column A, or both? This is set up for column A and the color Red.
![]()
Sub Fill_Column_A() Range("A1:A" & Range("A" & Rows.Count).End(xlUp).Row).Interior.ColorIndex = 3 End Sub
Sorry I should of explained it better. It will be for column B. And i'm trying to autofill a formula that starts in B2 and will need to go until there are no more values left in Column A.
A slight modification too stnkynts' code.
![]()
Sub trevor2524() Range("B2:B" & Range("A" & Rows.count).End(3)(1).Row).Interior.ColorIndex = 3 End Sub
Hi, trevor2524,
maybe
Ciao,![]()
Sub EF961982() Range("B2").AutoFill Range("B2:B" & Range("A" & Rows.Count).End(xlUp).Row) End Sub
Holger
Use Code-Tags for showing your code: [code] Your Code here [/code]
Please mark your question Solved if there has been offered a solution that works fine for you
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks