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:
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
Does anyone know how to determine which library I need to enable?
Can this be automatically done through VBA when the workbook opens?
Thank you!
Bookmarks