A
Associates
Hi,
I was trying to figure out where the insertion point is in VBA. My idea is
to check for two scenarios.
First scenario is if the insertion point is at the end of a line, it would
need to go to the next line and do something
Second scenario is if the insertion point is already at the start of a new
line, do not go to the next line but do something instead.
My question is how to know if the insertion point is at the end of the line
in VBA codes as shown below,
blah blah blah| <-- this is where the insertion point is at (at the end of
the line)
| <-- this is where the insertion point is at (at the start of a new line)
Any help would be greatly appreciated.
Thank you in advance
I was trying to figure out where the insertion point is in VBA. My idea is
to check for two scenarios.
First scenario is if the insertion point is at the end of a line, it would
need to go to the next line and do something
Second scenario is if the insertion point is already at the start of a new
line, do not go to the next line but do something instead.
My question is how to know if the insertion point is at the end of the line
in VBA codes as shown below,
blah blah blah| <-- this is where the insertion point is at (at the end of
the line)
| <-- this is where the insertion point is at (at the start of a new line)
Any help would be greatly appreciated.
Thank you in advance