Hi All,
I am trying to set a vba code to revert to a single layout when closing a workbook. I have the code below, however it is returnng a compile error: "Block If without End If" on the last End If row (I have bold the row).
I dont pretend to be amazing at VBA but I know my way around some basic code, but can someone please explain why I am getting this error and how to avoid it in future?
![]()
Please Login or Register to view this content.
Bookmarks