Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-30-2023, 02:30 PM
ctviggen ctviggen is offline Pasting in text like Notepad (not Paste Special) Windows 10 Pasting in text like Notepad (not Paste Special) Office 2016
Advanced Beginner
Pasting in text like Notepad (not Paste Special)
 
Join Date: Feb 2021
Posts: 54
ctviggen is on a distinguished road
Default

I figured it out, with help. Here's the code I needed, before I pasted the already-copied material into the document:




Code:
oRng.ListFormat.ConvertNumbersToText wdNumberParagraph

This comes from here:



Copy Text and Retain Numbers When Pasting – Word Macros and Tips – Work Smarter and Save Time in Word


I only needed the single line of code, though.


Other parts don't work, but this saves me tons of coding.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Notepad to Word : Pasting Specific text ie between any two blank line from notepad to word SMehta Word VBA 27 02-03-2021 03:34 AM
Pasting in text like Notepad (not Paste Special) Copy text with tab at start of line and paste to Notepad JohnTurnbull Word 5 08-27-2017 11:17 PM
need a shortcut for paste special link unformatted text noetic76 Word VBA 2 06-29-2014 06:40 PM
Pasting in text like Notepad (not Paste Special) Paste Special: Copy and Paste Formatting Only? tinfanide Word 6 03-06-2013 12:21 AM
Pasting in text like Notepad (not Paste Special) Paste Special Unformatted Text kenwpaul Office 2 02-25-2011 04:53 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:03 AM.


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