Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 02-26-2020, 04:14 PM
macropod's Avatar
macropod macropod is offline Replace " in string sent to output file Windows 7 64bit Replace " in string sent to output file Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

You don't need a macro for this. If those are the only " in the file, a simple Find/Replace can be used to delete them. Otherwise, your could use:
Find = "^p"
Replace = ^p
then delete the " at the start of the file and the " at the end.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 

Tags
word vba "



Similar Threads
Thread Thread Starter Forum Replies Last Post
Replace " in string sent to output file Define custom Cross-reference output format to include "static" text and pg numbers cyclops755 Word VBA 9 01-17-2023 02:42 PM
Replace " in string sent to output file Wildcard replace any string in context with a specified string wardw Word 7 05-07-2018 09:13 AM
Replace " in string sent to output file Advanced Replace -- Incorrect Output Order cheech1981 Word 2 09-18-2017 04:44 PM
Replace " in string sent to output file Way to search for a string in text file, pull out everything until another string? omahadivision Excel Programming 12 11-23-2013 12:10 PM
Replace " in string sent to output file Macro VBA "Save as" with bookmarks in file name string Dom37 Word VBA 2 10-31-2011 03:28 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:41 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