Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-25-2016, 07:05 PM
H28Sailor H28Sailor is offline getting the correct quote marks Windows 7 32bit getting the correct quote marks Office 2007
Advanced Beginner
getting the correct quote marks
 
Join Date: Mar 2013
Posts: 55
H28Sailor is on a distinguished road
Default getting the correct quote marks

Hi

'Monday', '6pm', 'Down'

‘Monday’, ‘6pm’, ‘Down’

I use word to place quote marks around various variables by using find & replace
The first line above is the result from my old laptop which has since died
The following line is from my current desktop



What do I need to change to get the quote marks as in the first line?

Bob M
Reply With Quote
  #2  
Old 01-25-2016, 07:16 PM
macropod's Avatar
macropod macropod is offline getting the correct quote marks Windows 7 64bit getting the correct quote marks Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,359
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

In any Word version, a single Find/Replace for quote characters could only produce the second version, not the first. To get the former result, especially if the quoted terms are variable, a fairly complex wildcard Find/Replace might be required.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 01-25-2016, 07:28 PM
H28Sailor H28Sailor is offline getting the correct quote marks Windows 7 32bit getting the correct quote marks Office 2007
Advanced Beginner
getting the correct quote marks
 
Join Date: Mar 2013
Posts: 55
H28Sailor is on a distinguished road
Default

Hi Paul

I do NOT do a single find & replace for quote characters.............

I find say Monday and replace it with 'Monday' and there are many instances of Monday

I have been doing what I described many times on my laptop and got the 1st line result each time

The end result is that I create a .sql file for input into Netbeans IDE

Netbeans IDE does not like the second line as input

Bob M
Reply With Quote
  #4  
Old 01-25-2016, 08:02 PM
macropod's Avatar
macropod macropod is offline getting the correct quote marks Windows 7 64bit getting the correct quote marks Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,359
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

Quote:
Originally Posted by H28Sailor View Post
I am sorry but you are incorrect
I have been doing what I described many times on my laptop and got the 1st line result each time

The end result is that I create a .sql file for input into Netbeans IDE

Netbeans IDE does not like the second line as input
Well, if you think you know more about Word than I do, why bother asking...
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #5  
Old 01-25-2016, 08:09 PM
H28Sailor H28Sailor is offline getting the correct quote marks Windows 7 32bit getting the correct quote marks Office 2007
Advanced Beginner
getting the correct quote marks
 
Join Date: Mar 2013
Posts: 55
H28Sailor is on a distinguished road
Default

Gosh - somebody is a bit titchy today

I am asking the question because I have a problem and no I don't know more that you do about word

Bob M
NZ
Reply With Quote
  #6  
Old 01-25-2016, 08:40 PM
macropod's Avatar
macropod macropod is offline getting the correct quote marks Windows 7 64bit getting the correct quote marks Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,359
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

Perhaps you should consider what you're posting instead of telling me:
Quote:
you are incorrect
I am, in fact, quite correct; it cannot be done with a single Find/Replace for quote characters in any Word version.

I see you later edited your reply to say you're not using a single Find/Replace. In that case, what you'd need to do is a Find/Replace for the term(s) requiring straight quotes with the Replace expression expressed as:
^39^&^39
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #7  
Old 01-25-2016, 09:03 PM
H28Sailor H28Sailor is offline getting the correct quote marks Windows 7 32bit getting the correct quote marks Office 2007
Advanced Beginner
getting the correct quote marks
 
Join Date: Mar 2013
Posts: 55
H28Sailor is on a distinguished road
Default

Hi Paul

What I wish to know is what do I need to change on my new computer so that I can simple find and replace say Monday with Monday enclosed in single quotes without resorting to ^39 stuff

Bob M
Reply With Quote
  #8  
Old 01-25-2016, 09:10 PM
macropod's Avatar
macropod macropod is offline getting the correct quote marks Windows 7 64bit getting the correct quote marks Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,359
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 could turn off Word's auto-formatting of quotes - but then you wouldn't get the smart quotes for the others... Using ^39 is a whole lot simpler IMHO.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #9  
Old 01-25-2016, 09:20 PM
H28Sailor H28Sailor is offline getting the correct quote marks Windows 7 32bit getting the correct quote marks Office 2007
Advanced Beginner
getting the correct quote marks
 
Join Date: Mar 2013
Posts: 55
H28Sailor is on a distinguished road
Default

When I turn OFF auto-formatting of quotes I do not get the straight quotes that I am seeking as in Line 1 above

Bob M
Reply With Quote
  #10  
Old 01-25-2016, 09:29 PM
macropod's Avatar
macropod macropod is offline getting the correct quote marks Windows 7 64bit getting the correct quote marks Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,359
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

There are two sets to turn off - did you turn both off?
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #11  
Old 01-25-2016, 10:15 PM
H28Sailor H28Sailor is offline getting the correct quote marks Windows 7 32bit getting the correct quote marks Office 2007
Advanced Beginner
getting the correct quote marks
 
Join Date: Mar 2013
Posts: 55
H28Sailor is on a distinguished road
Default

Finally found the second place to turn off
and it works

Thanks for your patience

Bob M
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
getting the correct quote marks Single open quote to apostrophe jklein Word 4 08-23-2015 11:23 AM
Changing quote marks from curved to straight? mysterywriter Word 2 08-04-2015 11:45 PM
getting the correct quote marks Double Quote Issue Galahad Word 1 09-25-2013 11:17 AM
getting the correct quote marks Import a exclusion list from a quote dbzisme Word 4 04-11-2013 07:31 PM
A Few questions regarding a quote program im designing. jackbkmp Word 1 03-03-2010 10:08 AM

Other Forums: Access Forums

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