![]() |
Compile Error in Excel 2004 when Inputbox contains "VBCRLF"
InputBox "First Line" & vbCrLf & "Secondline" 'No Error appears Action_Id = InputBox "First Line" & vbCrLf & "Secondline" "Compliet Error Expected End Of Statement. Can anyone give me a work around for this isssue? Respectfully, Darin Duphorn |
Compile Error in Excel 2004 when Inputbox contains "VBCRLF"
Hi,
The function requires brackets when the returned value is being assigned. Action_Id = InputBox("First Line" & vbCrLf & "Secondline") Cheers Andy QTP Professional wrote: InputBox "First Line" & vbCrLf & "Secondline" 'No Error appears Action_Id = InputBox "First Line" & vbCrLf & "Secondline" "Compliet Error Expected End Of Statement. Can anyone give me a work around for this isssue? Respectfully, Darin Duphorn -- Andy Pope, Microsoft MVP - Excel http://www.andypope.info |
All times are GMT +1. The time now is 06:56 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com