|
-
Jul 31st, 2000, 08:11 AM
#1
Thread Starter
Frenzied Member
When I copy a list of items from a column in Excel or a table in FrontPage and paste them into a multi-line text box in my application, I can then edit them into a paragraph of comma separated items by continuosly pressing in order:
HOME BACKSPACE COMMA SPACEBAR
That puts the items together with a comma and a space between each item.
The problem?
Well, it recently occured to me to try to build a "hotkey" for this repeated action by assigning the four Keys using vbKEY on a KEYDOWN event.
Well, I'm stuck on the vbKeyHome. Why is it that when I actually press this button at runtime, the cursor goes back to the front of the line I am on in the textbox, but when I use the command vbKeyHome in code, the cursor returns to the top line and first character position of the whole textbox?
Does anybody have the answer of a simpler way?
Thanks a lot.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|