Exporting Word Form Data to Excel

  Рет қаралды 174,199

Neil Malek

Neil Malek

Күн бұрын

Пікірлер: 96
@MH-xn8qv
@MH-xn8qv Ай бұрын
AMAZING! I'm so glad I found this video, I have a ton of info to import from a doc to Excel. This is greatly appreciated!
@manideepak6820
@manideepak6820 4 жыл бұрын
Hi sir I need dump the data from a single ms word which contains several pages of data feilds into a excel spreadsheet Do you have any macro or an idea to do my work easily
@chuckallaire566
@chuckallaire566 6 жыл бұрын
Wheres the Macro Download link
@carltonseymour869
@carltonseymour869 8 жыл бұрын
Hi Mike is it possible to download the VBA code. Thank You
@ritaa.510
@ritaa.510 8 жыл бұрын
I get stopped when exiting out of VBA with a message that the highlighted line "Sub GetFormData ( )" will stop the debugger....suggestions? Thanks!
@pradeepchauhan3085
@pradeepchauhan3085 4 жыл бұрын
will you please sent me a script code of this word form data to excel. my email id ayush.kumar916@gmail.com
@adnanmahmud8691
@adnanmahmud8691 3 жыл бұрын
Where is the code file? Can't find it on the link shared at the description.
@valeriebigeard362
@valeriebigeard362 5 жыл бұрын
Hi Mr Neil, I do not find your notepas file with the whole script of the macro? It would be possible to get it please? Kind regards
@nadinekadri6701
@nadinekadri6701 4 жыл бұрын
Hi Valerie, you can find the code online here: www.vbaexpress.com/forum/showthread.php?40406-Extracting-Word-form-Data-and-exporting-to-Excel-spreadsheet
@mightybluespider
@mightybluespider 3 жыл бұрын
@@nadinekadri6701 "Compile error: Method or data member not found"
@kristensagnes2594
@kristensagnes2594 2 жыл бұрын
I was able to get this to work but now that I've put a few in there, when I import now it is copying over previous ones instead of adding new ones. Any ideas how to fix?
@paolosellan9445
@paolosellan9445 Жыл бұрын
Hi Neil, I loved your video because your explanations are straight to the point and easy to understand even for non-power users. I need to find a way to import several resumes into a one Excel worksheet. The problem is that each resume is formatted differently. Is it possible to write a memo that looks for specific words (let's say "Education", "Skills", "Experience", etc.) and get related data? Can a macro recognize the name of a particular resume and put it under a field called "name"? Thank you.
@sathishjay8405
@sathishjay8405 3 жыл бұрын
Thank you. Here in my word data contain Heading 1 ,heading 2, heading 3 etc. From like this i wanna export to excel those headings are set in separate vice like heading 1 first columns heading 2 secomd column and heading 3 third column again second heading 1 second row first column as well heading 2 secomd column like this heirarchy i want know extract data to excel......is there any way to do in automation.please could you assist.
@robinleroy1373
@robinleroy1373 5 жыл бұрын
How do I get as copy of the VBA Macro?
@BigDaddyPoof
@BigDaddyPoof 5 жыл бұрын
Can you provide a link to the video showing how to create the word form that goes with this excel sheet? I came came across this video first, not the one that shows how to create the word form.
@8929199
@8929199 4 жыл бұрын
Dear Neil, what is the status of repeatitive forms fields ( like kids ) ?
@DSTGotchaGood
@DSTGotchaGood 7 жыл бұрын
You didn't come back and explain what we have to do with "'Note: this code requires a reference to the Word object model" ?
@raprein3
@raprein3 7 жыл бұрын
In the Visual basics screen go to the top bar and click Tools>References. Then simply scroll the list and tick the boxes of ALL the items with the words Object Model in it (preferably search for Windows Object model or Word Object model and also tag all Object libraries. I don't know exactly which one made it actually work, but after clicking them all it worked perfectly! Good luck!
@prabhupatra
@prabhupatra 4 жыл бұрын
@@raprein3 Is there any other way to deal with the same error message; because References is disabled on my work laptop on which I need to execute this code.
@Marcmenardtechno
@Marcmenardtechno 8 жыл бұрын
Thanks Neil, this bit of code works very well!
@kingpinsascha
@kingpinsascha 6 жыл бұрын
Set oFolder = CreateObject("Shell.Application").BrowseForFolder(0, "Choose a folder", 0) " Can you tell me which task the last sign has (quotation marks)? I deleted ist due to compiling reasons. thanks
@lauraashleyfiddle
@lauraashleyfiddle 6 жыл бұрын
Where do I get the code to cut and paste? Thanks! Also, I only have one word .doc so do I have to do Macros in order to import data from .doc to .xls?
@lauraashleyfiddle
@lauraashleyfiddle 6 жыл бұрын
Also it would be nice to see what the .docs you have in your folder look like prior to import.
@ShankarKumar-zo1fb
@ShankarKumar-zo1fb 4 жыл бұрын
I am getting compile error "Can't Find Project or Library" high lighting "wdApp As New Word.Application"
@bayonictx8305
@bayonictx8305 4 жыл бұрын
you figured it out?
@fireball60004
@fireball60004 4 жыл бұрын
You need to 'enable' (excuse any misunderstanding there please!) the reference to the Word object from within the VBA window following Tools > References > Microsoft Word Object Library
@masson426
@masson426 5 жыл бұрын
hi Neil, great video, how about in case I have multiple form in same word document? as I want to write them in excel in new line each. your help will be appreciated.
@mgunter9929
@mgunter9929 6 жыл бұрын
where is the Word to excel export file referenced as a download for this video?
@colinm5120
@colinm5120 5 жыл бұрын
His VBA code is on Forum post here: www.vbaexpress.com/forum/showthread.php?40406-Extracting-Word-form-Data-and-exporting-to-Excel-spreadsheet&p=257696&viewfull=1#post257696
@ssorensonaz
@ssorensonaz 7 жыл бұрын
How do you change this macro to refer to bookmarks, instead of content controls? I have a ton of older word forms I need to mine for data, and this macro won't read them...because they were all created prior to content controls. In fact, some of the fields have the same bookmark name as each other. I just need to dump out all the data in hundreds of files into excel.
@Tomas-eb7qj
@Tomas-eb7qj 7 жыл бұрын
me too
@pierrickdefossez3157
@pierrickdefossez3157 3 жыл бұрын
Great video Neil, thanks. How do you deal with check boxes and radio buttons though?
@yesayawandy
@yesayawandy 5 жыл бұрын
Hi mr neil, i have a case like this but they are reverse from this case And then print in word paragraphs like a template Please help thanks...
@markddelorme
@markddelorme 8 жыл бұрын
Where can I find this VBA code to copy/paste into my workbook? I tried the links provided in Paul Edstein's comments, although these aren't exactly the same as the one your using in the video and I'm getting compile errors. Thanks!
@pradeepchauhan3085
@pradeepchauhan3085 4 жыл бұрын
Hi Neil, how can i get this work to excel export notepad file.
@elenitacere
@elenitacere 6 жыл бұрын
My question is: Form fields only are for 90 characters and the text that I want to transfer is usually bigger. What can I do?
@dorito818
@dorito818 3 жыл бұрын
What if there are checkbox selections?
@francisprice762
@francisprice762 5 жыл бұрын
Hi Neil Where can I obtain a copy of VBA macro code for this example.
@bapimazhar1166
@bapimazhar1166 6 жыл бұрын
Hi Mike, How can I download VBA code for this macro? Thanks.
@Threedeeh1
@Threedeeh1 8 жыл бұрын
will this work even if I used legacy form fields instead of plain text content control?
@jmrcardoso73
@jmrcardoso73 4 жыл бұрын
Any suggestion on how to do the opposite i.e I have an excel table and want to populate word forms with that? Thx
@theigneous
@theigneous 4 жыл бұрын
look up Mail Merge
@Treepa22
@Treepa22 5 жыл бұрын
What about the sub get form data section of the code?
@hariraghava6745
@hariraghava6745 7 жыл бұрын
I have a word file but the details are not in a particular sequence as you have shown in the word file,, it's a 20+ page file and I need some 60 fields from the word form.. I tried your coding with little changes but it didn't work can you please guide me how to do this..
@subbavenkiteswaran4433
@subbavenkiteswaran4433 2 жыл бұрын
I am in a similar situation, did you find a solution for your problem ?
@eliot587
@eliot587 8 жыл бұрын
Neil, I'm stuck. How does the excel macro recognize your word macro form field data and know which column to place the data? The issue I'm having with this excel macro is that my code doesn't recognize the Word Object Model despite toggling the reference to the Word 14.0 Object Model Library. What can I do to get around the issue I'm having? What can I do to fix my .xlsm and docm, so that my data will be collected from the form fields and placed into my spreadsheet?
@lmt125
@lmt125 8 жыл бұрын
I think you need to make sure all your field have the same name like text1, text2 in your docm haven't tried this myself yet.
@baileyleppek
@baileyleppek 4 жыл бұрын
This is so cool. Thank you kind stranger!
@thekingsman8784
@thekingsman8784 4 жыл бұрын
kzbin.info/door/y1BPfbGIoP6Bei7feTB7zA Open this link and increase your computer knowledge
@11111111111111169976
@11111111111111169976 7 жыл бұрын
is there away to use the graph on ms word and extract data on to excel?
@oneiloneil1970
@oneiloneil1970 5 жыл бұрын
How to transfer info from 1 document field into another doc fields....
@MsMRBEER
@MsMRBEER 2 жыл бұрын
Neil please provide VBA code. This looks exactly like what I need.
@linotaffoni2820
@linotaffoni2820 4 жыл бұрын
hi...where is the macro code?
@squeekybean89
@squeekybean89 6 жыл бұрын
Really helpful! Thanks Neil!
@vishakhabhuibhar9508
@vishakhabhuibhar9508 6 жыл бұрын
hey did you find the code?
@fbruni
@fbruni 8 жыл бұрын
How cam i export from word doc metadata, using your macro?
@dawarner6302
@dawarner6302 5 жыл бұрын
Neil... it has been a couple of years since you created this video... by chance, is the MACRO text file still available? I would like to use it if possible
@colinm5120
@colinm5120 5 жыл бұрын
His VBA code is on Forum post here: www.vbaexpress.com/forum/showthread.php?40406-Extracting-Word-form-Data-and-exporting-to-Excel-spreadsheet&p=257696&viewfull=1#post257696
@bayonictx8305
@bayonictx8305 4 жыл бұрын
@@colinm5120 I get error :( Compile error: User- defined type not defined what references i should use?
@bayonictx8305
@bayonictx8305 4 жыл бұрын
@@colinm5120 please help :'(
@Treepa22
@Treepa22 5 жыл бұрын
Hey Neil this was great! Where can I find the code you used? Also what video do you go over making changes to a word doc to fit what you need to populate an excel file?
@colinm5120
@colinm5120 5 жыл бұрын
His VBA code is on Forum post here: www.vbaexpress.com/forum/showthread.php?40406-Extracting-Word-form-Data-and-exporting-to-Excel-spreadsheet&p=257696&viewfull=1#post257696
@phmaktx3343
@phmaktx3343 4 жыл бұрын
@@colinm5120 so this link seems to be dead. Any suggestions where else I can get the macro code? thx!!
@wiremylights
@wiremylights 7 жыл бұрын
Can anybody help me??? I have address and phone numbers in word 209 pages. I want to export from word to excel (open office) in name, address, state, email, website and telephone number. It has been a pain. can anyone help. tried comma's, saving as plain text etc nothing works. the data is still all over the place.
@neilmalek
@neilmalek 7 жыл бұрын
I really don't know what's happening under the hood with Open Office, so if everything's breaking, I'd be doing the same Googling you are! Sorry I can't be of more assistance.
@1truebloodlove
@1truebloodlove 6 жыл бұрын
Where is the downloadable macro?
@siebertpj
@siebertpj 6 жыл бұрын
Found this online- links4reference.yolasite.com/resources/Step%20to%20create%20macro%20(VBA%20for%20Word%20form%20fields%20to%20Excel).pdf
@kingpinsascha
@kingpinsascha 6 жыл бұрын
Hey Neil, "Object doesn't support property or method" afterwards I get "excel is waiting for an ole action from another application" Should I deactivate or activate sth in Word?
@mastrockys
@mastrockys 4 жыл бұрын
Hi, Did you get a response to this / moved ahead from here? I am stuck at the same place!
@aboyoussef4026
@aboyoussef4026 3 жыл бұрын
Thank you very much sir, could you please give me this excel file?
@Treepa22
@Treepa22 5 жыл бұрын
Word object model?
@TheZedraCula
@TheZedraCula 7 жыл бұрын
Hi, Maybe i'm blind but where is the download for the macro?
@kirannikam2500
@kirannikam2500 7 жыл бұрын
Hi Johan, were u successful in running the macro
@katytillman6004
@katytillman6004 6 жыл бұрын
Did you find the download for the macro?
@vilsaflasche
@vilsaflasche 7 жыл бұрын
hi Neil, great explaining. it is easy to follow. however, i have been trying to do this on a Mac but it doesn't run. do you have an idea why? thanks
@daxtonlukas8892
@daxtonlukas8892 3 жыл бұрын
you all prolly dont care at all but does any of you know a tool to get back into an instagram account? I was stupid forgot my login password. I appreciate any help you can offer me.
@bradleycharles9108
@bradleycharles9108 3 жыл бұрын
@Daxton Lukas instablaster ;)
@daxtonlukas8892
@daxtonlukas8892 3 жыл бұрын
@Bradley Charles i really appreciate your reply. I got to the site on google and im trying it out atm. Takes quite some time so I will get back to you later when my account password hopefully is recovered.
@daxtonlukas8892
@daxtonlukas8892 3 жыл бұрын
@Bradley Charles It did the trick and I finally got access to my account again. Im so happy:D Thanks so much, you really help me out !
@bradleycharles9108
@bradleycharles9108 3 жыл бұрын
@Daxton Lukas you are welcome :)
@fullmetalsvr
@fullmetalsvr 6 жыл бұрын
People you can do this, they just don't know how... pointless to show and not give the examples to download...
@tele5050
@tele5050 8 жыл бұрын
Hi Malek, its wonderful demo. However I am having some issue in populating my excel sheet. I have email you the files. Appreciate if you help to resolve. Thanks a lot.
@bartleybonar5724
@bartleybonar5724 7 жыл бұрын
did anyone figure out the references
@Ewan-Argo
@Ewan-Argo 6 жыл бұрын
so, wheres the code?
@SophiaKMarques
@SophiaKMarques 6 жыл бұрын
www.vbaexpress.com/forum/showthread.php?40406-Extracting-Word-form-Data-and-exporting-to-Excel-spreadsheet&p=257696&viewfull=1#post257696 Found it on his blog
@ociekhan317
@ociekhan317 Жыл бұрын
Did you ever get the file?
@iKrromz
@iKrromz 7 жыл бұрын
Thank you Sir!!
@WadeBarmby
@WadeBarmby 5 жыл бұрын
This is a great video, but it would actually be useful if there were downloads to the files and the VB code he's talking about. Hard to copy and paste from a video. If anyone has them, it would be very much appreciated.
@colinm5120
@colinm5120 5 жыл бұрын
His VBA code is on Forum post here: www.vbaexpress.com/forum/showthread.php?40406-Extracting-Word-form-Data-and-exporting-to-Excel-spreadsheet&p=257696&viewfull=1#post257696
@vicentemoll3618
@vicentemoll3618 10 ай бұрын
Sub GetFormData() ' Note: this code requires a reference to the Word object model Application.ScreenUpdating = False Dim wdApp As New Word.Application Dim wdDoc As Word.Document Dim FmFld As Word.FormField Dim strFolder As String, strFile As String Dim WkSht As Worksheet, i As Long, j As Long strFolder = GetFolder If strFolder = "" Then Exit Sub Set WkSht = ActiveSheet i = WkSht.Cells(WkSht.Rows.Count, 1).End(xlUp).Row ' on this line, notice that the file extension is .docm. ' if you are using .doc files or .docx files, make sure ' you change this line to match up with that. ' strFile = Dir(strFolder & "\*.docm", vbNormal) While strFile "" i = i + 1 Set wdDoc = wdApp.Documents.Open(Filename:=strFolder & "\" & strFile, _ AddToRecentFiles:=False, Visible:=False) With wdDoc j = 0 For Each FmFld In .FormFields j = j + 1 WkSht.Cells(i, j) = FmFld.Result Next FmFld End With wdDoc.Close SaveChanges:=False strFile = Dir() Wend wdApp.Quit Application.ScreenUpdating = True End Sub Function GetFolder() As String Dim oFolder As Object GetFolder = "" Set oFolder = CreateObject("Shell.Application").BrowseForFolder(0, "Choose the folder", 0) If (Not oFolder Is Nothing) Then GetFolder = oFolder.Items.Item.path Set oFolder = Nothing End Function 'If you decide to use Content Controls instead of Form Fields '(which are found under the Developer Ribbon), you'll need to find every instance 'of FmFld and replace it with CntCtrl. ' Dim CntCtrl As Word.ContentControl 'For Each FmFld In .FormFields changes to For Each CntCtrl In .ContentControls 'WkSht.Cells(i, j) = FmFld.Result changes to WkSht.Cells(i, j) = CntCtrl.Range.Text
@JosephJohnson-uh8mj
@JosephJohnson-uh8mj 2 ай бұрын
You are a saint! thank you for doing this To any one else who sees this, when you copy and paste, just be aware that you'll need to make sure everything after End Function is a comment. For me, copying it over made the VB window think it was executable code.
@c3235086
@c3235086 2 жыл бұрын
Worse than useless without the macro file, which is not provided.
Creating Waterfall Charts in Excel 2013
6:53
Neil Malek
Рет қаралды 17 М.
Macro to extract data from Word table to Excel | Excel VBA
12:49
Extreme Automation - Kamal Girdher
Рет қаралды 41 М.
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
Get Data from Microsoft Word Forms into Excel Using VBA
23:48
Dinesh Kumar Takyar
Рет қаралды 79 М.
How To Export Word Form Data Fields To Excel
7:18
Sharon Smith
Рет қаралды 126 М.
Extract Specific Data from MS Word into Excel with VBA
10:56
Dinesh Kumar Takyar
Рет қаралды 32 М.
Introduction to Pivot Tables, Charts, and Dashboards in Excel (Part 1)
14:48
Excel Campus - Jon
Рет қаралды 14 МЛН
How to make Fillable Form in Microsoft Word
12:00
Kevin Stratvert
Рет қаралды 1,7 МЛН
SUPER EASY Excel Data Entry Form (NO VBA)
6:22
Leila Gharani
Рет қаралды 2,1 МЛН
How to convert Word document to Excel Sheet
2:40
Tech Tutorial
Рет қаралды 909
(1/2) Automating Word Documents from Excel - No VBA
4:37
Andrew Ligon Fant
Рет қаралды 387 М.
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН