Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-18-2016, 05:46 PM
Chayes Chayes is offline Pasting as unformatted text VBA Windows XP Pasting as unformatted text VBA Office 2003
Advanced Beginner
Pasting as unformatted text VBA
 
Join Date: May 2012
Posts: 79
Chayes is on a distinguished road
Default Pasting as unformatted text VBA

Hi All



I have several macros in my Word 2003 installation. I have been using them with no hitch on XP for years. Now I've transferred to a Win 7 Pro machine , I'm getting errors from my code and the macros are failing.

This VBA , which I use to paste the content of the clipboard as unformatted text :

Selection.PasteSpecial Link:=False, DataType:=wdPasteText, _
Placement:=wdInLine, DisplayAsIcon:=False

now gives errors.

I've tried various things to try to get this to work , with no success. It either gives an error , or if it does paste , it pastes the clipboard content in its formatted form , which is not what I need.

Can sometime help with some code to paste the content of the clipboard as unformatted text?

Grateful for any help.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Pasting as unformatted text VBA Unformatted text paste macro Ulodesk Outlook 1 07-03-2014 02:03 PM
need a shortcut for paste special link unformatted text noetic76 Word VBA 2 06-29-2014 06:40 PM
Pasting as unformatted text VBA Unformatted meeting request in Outlook 2010 dwolnik Outlook 5 07-14-2011 11:27 AM
Pasting as unformatted text VBA Paste Special Unformatted Text kenwpaul Office 2 02-25-2011 04:53 PM
Pasting as unformatted text VBA Macro to paste unformatted text Andacar Word 2 01-05-2011 09:15 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:48 PM.


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