If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > Name Field Help!!!!!!!!

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-08-08, 07:47
dingledow dingledow is offline
Registered User
 
Join Date: Nov 2007
Posts: 7
Exclamation Name Field Help!!!!!!!!

Hi

I have set up a mail merge with loads of names in. When it comes to names such as James - it is incorrect. This is because it reads "James's coursework", when i want it to say "James' coursework". However, it needs to change so when David is merged, it reads "David's coursework".

Overall I nead a rule so that when the name ends in "s" it puts in an " ' " (apostrophe), but when the name doesn't end in "s", i want it to put in " 's ".

Many Thanks

David
Reply With Quote
  #2 (permalink)  
Old 03-08-08, 08:16
StarTrekker StarTrekker is offline
L33t Helpa Munky
 
Join Date: Nov 2007
Location: Adelaide, South Australia
Posts: 4,049
Have you considered simpler solutions?

What about "Coursework for James" ?
__________________
Owner and Manager of
CypherBYTE, Microsoft Access Development Specialists.
Microsoft Access MCP.
And all around nice guy!


"Heck it's something understood by accountants ... so it can't be 'that' difficult..." -- Healdem
"...teach a man to code and he'll be frustrated for life! " -- georgev
Reply With Quote
  #3 (permalink)  
Old 03-08-08, 09:16
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,156
Code:
If Right(firstname, 1) = "s" Then
    firstname & "'"
Else
    firstname & "'s"
End If
??
__________________
George
Twitter | Blog
Reply With Quote
  #4 (permalink)  
Old 03-08-08, 09:52
dingledow dingledow is offline
Registered User
 
Join Date: Nov 2007
Posts: 7
Question Name Field Help!!!!!!!!

Hi

I have set up a mail merge with loads of names in. When it comes to names such as James - it is incorrect. This is because it reads "James's coursework", when i want it to say "James' coursework". However, it needs to change so when David is merged, it reads "David's coursework".

Overall I nead a rule so that when the name ends in "s" it puts in an " ' " (apostrophe), but when the name doesn't end in "s", i want it to put in " 's ".

Many Thanks

David
Reply With Quote
  #5 (permalink)  
Old 03-08-08, 10:18
shades shades is offline
Registered User
 
Join Date: Oct 2003
Posts: 1,091
I am from the old school, but James's is correct. I know because my last name ends with an s.
__________________
old, slow, and confused
but at least I'm inconsistent!

Rich
(retired Excel 2003 user, 3/28/2008)

How to ask a question on forums
Reply With Quote
  #6 (permalink)  
Old 03-08-08, 18:07
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,156
Moved to Excel topic as per user request.
Code:
Iif(Right(A1, 1) = "s", A1 & "'", A1 & "'s")
Wher A1 contains the name
__________________
George
Twitter | Blog
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On