I brought a file home from work, and started to receive an error message from the VBA code.
Compile Error: Can't find project or library
The code that is causing the eror is "cl" in the first line:
Does anyone know how to determine which library I need to enable?![]()
For Each cl In Target.Cells If IsDate(Cells(2, cl.Column)) Then With Cells(2, cl.Column) .Font.Bold = True .Interior.Color = RGB(228, 109, 10) End With End If Next
Can this be automatically done through VBA when the workbook opens?
Thank you!











LinkBack URL
About LinkBacks
Register To Reply

Bookmarks