Thread: [Solved] Append to Existing file
View Single Post
 
Old 07-29-2015, 06:01 PM
charlesdh charlesdh is offline Windows 7 32bit Office 2010 32bit
Expert
 
Join Date: Apr 2014
Location: Mississippi
Posts: 382
charlesdh is on a distinguished road
Default

HI,

Thank for the reply. I worked out my problem.
When I used this
Code:
Fname = ThisDocument.Bookmarks("FirstName").Range.Text' not working
Fname = ThisDocument.Bookmarks("FirstName").Range.Word(1)'' should have used this
My problem now is if I use this for Date of Birth:
Code:
DOB = ThisDocument.Bookmarks("DateOfBirth").Range.Word(1)
It will bring back a "4" being it's the first character in the Date of Birth.
Am trying to figure this out.

Last edited by charlesdh; 07-29-2015 at 06:09 PM. Reason: Changed code
Reply With Quote