I have two buttons, one is called "Enter Storage" and the other one is called "Check Calculation".
I assigned macros for both buttons and created user forms for each one "Calculate" and "EnterStorageForm", all the buttons do is show the user forms.
The macro "Storage" was assigned to "Enter Storage" and "Calculations" was assigned to "Check Calculation".
This is the code at the moment
Sub Storage()
EnterStorageForm.Show
End Sub
Sub Calculations()
Calculate.Show
End Sub
When I click on "Enter Storage" it works just fine and the form is shown, but when I click on "Check Calculation" I get the error "Expected Function or Variable" and I can't figure out what the problem is, both are doing the same thing how is it possible that one works and one doesn't, what am I missing here?
thank you for the help in advance