R Ronald Berardinis Member Licensed User Jan 15, 2019 #1 why is this failing with syntax error. I copy/paste and this is the result. Must be resumablesub ? I just want to have a pop up and get a response back. In VB.net would use the InputBox(message, title, defaultValue)
why is this failing with syntax error. I copy/paste and this is the result. Must be resumablesub ? I just want to have a pop up and get a response back. In VB.net would use the InputBox(message, title, defaultValue)
walterf25 Expert Licensed User Longtime User Jan 16, 2019 #2 Ronald Berardinis said: why is this failing with syntax error. I copy/paste and this is the result. Must be resumablesub ? I just want to have a pop up and get a response back. In VB.net would use the InputBox(message, title, defaultValue) View attachment 76368 Click to expand... You need to change Code: Copy Sub msgbx(txt As String, title As String) As Boolean to Code: Copy Sub msgbx(txt As String, title As String) As ResumableSub See this link here about ResumableSubs that return a value Walter Upvote 0
Ronald Berardinis said: why is this failing with syntax error. I copy/paste and this is the result. Must be resumablesub ? I just want to have a pop up and get a response back. In VB.net would use the InputBox(message, title, defaultValue) View attachment 76368 Click to expand... You need to change Code: Copy Sub msgbx(txt As String, title As String) As Boolean to Code: Copy Sub msgbx(txt As String, title As String) As ResumableSub See this link here about ResumableSubs that return a value Walter