Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-10-2017, 03:36 PM
AXbean AXbean is offline Copy text and paste using Enter key Windows 10 Copy text and paste using Enter key Office 2013
Novice
Copy text and paste using Enter key
 
Join Date: Feb 2017
Posts: 5
AXbean is on a distinguished road
Default 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
Thanks in advance,
Robert
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy text and paste using Enter key 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
Copy text and paste using Enter key 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

Other Forums: Access Forums

All times are GMT -7. The time now is 03:05 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft