• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

How to transfer data from Word forms to Excel

mclamb

New Member
I have a word document that has forms for people to fill out. I want to take the information that people put into the form and I want to put it all into an excel sheet, can anyone help me on how I can do this? I have Microsoft office 2011 for mac. Thanks!
 
Mclamb


Firstly welcome to the Chandoo.org Forums


You will notice I have changed the title of your post.

It is important to use a descriptive title which aids searching as well as focuses people attention on areas where they maybe able to help


Please read the 3 sticky green posts at the main forum screen for more info to help you at Chandoo.org Forums
 
Hui,


Thanks for your help, I am new at posting to forums as I am sure you can tell.... Would you by chance be able to help me with my problem?


Thanks!
 
I have never used Word Forms


Have you had a look at: http://answers.microsoft.com/en-us/office/forum/office_2007-customize/how-to-automatically-export-word-form-data-to/97394014-ef49-46b8-a070-35db7227fbfe
 
Hi, mclamb!

Would you consider uploading a sample .docx file? Please refer to second green sticky post at this forums main page for guidelines.

Regards!
 
Hi mclamb,


Firstly, welcome to this forum and we glad to have you here.


I do agree with SirJB7 regarding uploading the word file which will,indeed, help us to get a better picture of your requirement.


Meanwhile, you can have a look at the following excel macro which will copy the contents of whatever Word document is active in your system and paste its contents into whatever Excel worksheet is active.


However, in Excel, you need to set a reference to the Word object library (e.g. Microsoft Word 12.0 Object Library)....Go to Tools...Reference...select the reference for word object library available in your system.


Here is the code(paste it in new code module):


Sub GetContentsFromWord()

Application.ScreenUpdating = False

Application.DisplayAlerts = False


Dim wordApp As Word.Application

Set wordApp = Word.Application

Dim wordDoc As Word.Document

Set wordDoc = wordApp.ActiveDocument

wordDoc.Range.Copy

ActiveSheet.Paste Destination:=ActiveSheet.Range("A1")


Application.ScreenUpdating = True

Application.DisplayAlerts = True

End Sub


Please note that the code I have provided, may not be the ultimate one for your exact requirement but, meanwhile it will give you an idea how it may work.


Regards,

Kaushik
 
Hi mclamb,


You may also like to have a look at this post. It may help you to solve your query what you are, probably, looking for..


http://www.mrexcel.com/forum/showthread.php?561213-VBA-Exporting-Word-2003-Form-Data-to-Excel


Kaushik
 
Back
Top