If TextBox1.Text = "" Or TextBox1.Text = "False" Then
msgbox("Filename invalid. Try again.",vbOKOnly)
I'm getting "Compiler Error: Expected: =" error message.
It's because you can only call Subs either with Call or without parentheses in VBA. So change it to:
MsgBox "Filename invalid. Try again.", vbOKOnly
Or, if you like this style better:
Call MsgBox("Filename invalid. Try again.", vbOKOnly)
(And the reason you get the error is because it expects you to assign the result to a variable, hence it expects an =.)
==.=;)=.==is used in C++ variant languages if I recall correctly.