@Kevin Hello,
I have a better idea, not using the text dialog, it might be simpler
Step 1: Navigate to the second line begin of the AutoText file and type the following characters
{s1} ub.Sub* ;;{s2}
Step 2: Navigate to the last line of the AutoText file and type the following characters
#sub Sub* m
_s=
F
{s}
KeyAutoInputDialog(_s)
NOTE:
1. KeyAutoInputDialog is a more powerful function, please open the link address for detailed description:
http://www.quickmacros.com/forum/showthr...1#pid33101
2. The difficulty of the above code is to determine the value of *
3. In the sub-function, the text in the variable s, need to add a space before each line.
I tried to write the code, it is simulated, Some code won't write, can you help me improve the code according to the above requirements? thanks a lot
I have a better idea, not using the text dialog, it might be simpler
Step 1: Navigate to the second line begin of the AutoText file and type the following characters
{s1} ub.Sub* ;;{s2}
Step 2: Navigate to the last line of the AutoText file and type the following characters
#sub Sub* m
_s=
F
{s}
KeyAutoInputDialog(_s)
NOTE:
1. KeyAutoInputDialog is a more powerful function, please open the link address for detailed description:
http://www.quickmacros.com/forum/showthr...1#pid33101
2. The difficulty of the above code is to determine the value of *
3. In the sub-function, the text in the variable s, need to add a space before each line.
I tried to write the code, it is simulated, Some code won't write, can you help me improve the code according to the above requirements? thanks a lot