I am new to VBA and have an issue with calling my function:
My function is as follows:
Function pricing(priceSchedule As String, cellValue As String)
MsgBox (priceSchedule)
MsgBox (cellValue)
End Function
When I call it:
pricing("Master Sheet", "G8")
I get the error:
Compile error:
Expected: =
Could someone please help? Thanks!