Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-23-2014, 10:00 PM
woah woah is offline Word to Excel Windows 7 64bit Word to Excel Office 2013
Novice
Word to Excel
 
Join Date: Sep 2014
Posts: 1
woah is on a distinguished road
Default Word to Excel

Hey guys,

Was just wondering if there was a neat way to take data entered into a word document and extract it into excel or something similar? The data I want would all be from text fields/checkboxes/date pickers and such.
Reply With Quote
  #2  
Old 09-24-2014, 12:01 AM
thetraininglady thetraininglady is offline Word to Excel Windows 7 64bit Word to Excel Office 2010 32bit
Competent Performer
 
Join Date: Sep 2014
Location: Sydney, Australia
Posts: 214
thetraininglady is on a distinguished road
Default

Hi,
Yes you can do this.

Firstly you need to export the completed form as a TXT file but first you need to go into File > Options. Select the Advanced section and scroll down till you see the Preserve Fidelity when sharing this document section. Tick the box for Save form data as delimited text file then click OK.

Open a copy of the completed form in Word. Select Save As and choose the file format as .txt. Now open Excel and select the Data tab and click the From Text button within the Get External Data group. Locate the TXT file you just saved, click Import, go through the Text Import Wizard and select Delimited as the file type, select the comma option as the delimiter you are using and complete the wizard and the data will be bought straight into Excel. You just repeat for each completed form.

Once you are finished the process and no longer need forms to save the data only I'd untick the option in the File > Options in Word.

There may be a slight difference in the sequence in Word 2013 but the option is certainly available as I'm using 2010 at present.
Reply With Quote
  #3  
Old 09-24-2014, 12:14 AM
macropod's Avatar
macropod macropod is offline Word to Excel Windows 7 64bit Word to Excel Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,340
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

If you have multiple documents to process, it's probably best to do the data extraction from Excel. For a macro to do this with content controls, see:
http://www.vbaexpress.com/forum/show...l=1#post257696
and, for modifications to that code for working with formfields, see:
http://www.vbaexpress.com/forum/show...l=1#post291047
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Word to Excel pasting from excel to word maintaining word formatting fraserb Word 2 09-01-2014 10:56 PM
From Excel to Word? lostsoul62 Word 1 03-19-2012 06:20 PM
Word to Excel Open Word w Excel & fill Word textboxes w info from Excel fields runtime error 4248 Joe Patrick Word VBA 2 01-30-2012 07:23 AM
Word to Excel Word to Excel rynman Office 5 04-19-2009 06:50 AM
Word to Excel Excel to Word retrospect1984 Excel 1 02-18-2009 06:41 AM

Other Forums: Access Forums

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