Below are two (2) attempts to split a MS Access VB line of code. As you see it's rather long and I need to add to it. It's for an "InputBox" statement. I tried to use a "Continuation Character (underscore) in the "First Try", it did not work. I then try to separate each line item and concatenate ("Second Try") and it fail also. Does anyone have a solution ? Thanks in advance ! ! !
First Try
mySortCheck = InputBox(" (1) Chart For Descriptions (2) Chart For Top Twenty (20) Products (3) Chart For Top Twenty (20) Salesman (4) Chart For Salesman", "Chart Type", 5) Chart For Top Twenty (20) Salesman By Region
Second Try
Line1 = "(1) Chart For Descriptions "
Line2 = "(2) Chart For Top Twenty (20) Productss "
Line3 = "(3) Chart For Top Twenty (20) Salesman "
Line4 = "(4) Chart For Salesman "
Line5 = "(5) Chart For Top Twenty (20) Errors Central Region)"
Line6 = """"
Line7 = ", "
AllLines = Line1 & Line2 & Line3 & Line4 & Line5 & Line6 & Line7
mySortCheck = InputBox(" AllLines "Chart Type", 1)
First Try
mySortCheck = InputBox(" (1) Chart For Descriptions (2) Chart For Top Twenty (20) Products (3) Chart For Top Twenty (20) Salesman (4) Chart For Salesman", "Chart Type", 5) Chart For Top Twenty (20) Salesman By Region
Second Try
Line1 = "(1) Chart For Descriptions "
Line2 = "(2) Chart For Top Twenty (20) Productss "
Line3 = "(3) Chart For Top Twenty (20) Salesman "
Line4 = "(4) Chart For Salesman "
Line5 = "(5) Chart For Top Twenty (20) Errors Central Region)"
Line6 = """"
Line7 = ", "
AllLines = Line1 & Line2 & Line3 & Line4 & Line5 & Line6 & Line7
mySortCheck = InputBox(" AllLines "Chart Type", 1)