E
Ed M
I have a macro which requires the user to select where the action will
happen. I have two issues to deal with: (a) I'm making this a Private Sub,
dependent on the running of a previous macro, because I need to pass a total
count variable from the previous macro into this one. (b) This is a
repeated action, so this macro will update a counter every time it's run and
compare it with the passed-on variable to know when to stop.
The macro will find a generic label statement and replace it with a
user-chosen label (input earlier via InputBox) that includes a number (the
counter which increments each time the loop is run).
Is there any way I can break out of the loop to ask the user to "Place the
cursor where you want the text to be", then let the macro continue? If not,
what might be the best way to handle this?
Ed
happen. I have two issues to deal with: (a) I'm making this a Private Sub,
dependent on the running of a previous macro, because I need to pass a total
count variable from the previous macro into this one. (b) This is a
repeated action, so this macro will update a counter every time it's run and
compare it with the passed-on variable to know when to stop.
The macro will find a generic label statement and replace it with a
user-chosen label (input earlier via InputBox) that includes a number (the
counter which increments each time the loop is run).
Is there any way I can break out of the loop to ask the user to "Place the
cursor where you want the text to be", then let the macro continue? If not,
what might be the best way to handle this?
Ed