Greetings,
I am getting and error with this code that says: "Invalid Use of Me Keyword".
Public Sub SaveProject() GetBook = MyRange.Parent.Parent.Name If GetBook = "IBU Installation BOMs - 3.5" Then Call SaveProjectAs If Not GetBook = "IBU Installation BOMs - 3.5" Then Me.Save End Sub
This sub is currently located in Module1. After getting the error, I moved it to the ThisWorkbook module, however, when I tried to run the code it wasn't visible by the button.
What am I doing wrong?