[Solved] Tax calculation in vba, run type error ’13’ type mismatch [closed]


Change:

MsgBox strOutput, "Final Salary"

To:

MsgBox strOutput, vbOKOnly, "Final Salary"

Or:

MsgBox Prompt:=strOutput, Title:="Final Salary"

You are trying to put a string in where a button type is supposed to be.

1

solved Tax calculation in vba, run type error ’13’ type mismatch [closed]