#1
|
|||
|
|||
Copy text and paste using Enter key
Hello all, first post. I created a macro in Excel in which a user can make a selection, click on a button (which runs the COPY command), click on a new location, and press ENTER to paste the copied selection. Is there a similar function (VBA) for Word? The same code does not work.
Here is the Excel code: Code:
Sub CopySel(control As IRibbonControl) Selection.Copy ActiveSheet.Paste End Sub Robert |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Copy paste highlighted text to another doc | MSoffice1 | Word VBA | 17 | 04-16-2022 06:45 AM |
Copy Text Twice to Paste into word | Albundy | Word | 2 | 09-02-2016 12:59 PM |
Table copy/paste suddenly text-only | mjcoon | Word Tables | 20 | 04-28-2012 08:53 PM |
Can't copy/cut and paste text in Word 2002 | mmiller751 | Word | 0 | 04-17-2012 02:55 PM |
Losing Text box data when copy and paste | Spay | Excel | 0 | 03-15-2011 07:18 AM |