Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #16  
Old 04-25-2013, 12:03 AM
wordlearner16 wordlearner16 is offline Data migration between two templates Windows XP Data migration between two templates Office 2010 32bit
Novice
Data migration between two templates
 
Join Date: Apr 2013
Posts: 10
wordlearner16 is on a distinguished road
Default

I am so sorry if i have sounded as if i dont want to give. but being "WORD illiterate", I really did not understand
which details to give.
I did not start with any macro yet.



about the text data, i can give you.

"Herr";"NAME";"VORNAME(N)";"";"z.B. Diplom-Ingenieur (FH)";"";"";0;0;0;0;"z. B. Großraum Stuttgart (80 km)";"";"";"";0;0;0;0;"z. B. Energie";"z. B. Hardwarenahe SW-Entwicklung, HIL Simulation, Interieur Konstruktion etc. ";"z. B. Inca, Ascet, Matlab, Simulink";"z. B. Nastran, Ansys, Fluent";"z. B. Catia V5, Protel";"z. B. C, C++";"z. B. CAN, LIN, Most, Flexray";"z. B. HC09, Atmel, 8051";"z. B. EN50128, DO-178B, IEC61131";"MM/JJJJ";"MM/JJJJ";0;"";"";"Projektbeschreibung (Projekttätigkeit, Praktikum, Diplom-/Studienarbeit) oder Funktionsbezeichnung (z.B. Entwicklungs-/Systemingenieur, Analogdesigner)";"Inhalte / Aufgaben des Projektes; 4 - 6 Punkte";"Verwendete Systeme und Tools";"MM/JJJJ";"MM/JJJJ";0;"";"";"Projektbeschreibung (Projekttätigkeit, Praktikum, Diplom-/Studienarbeit) oder Funktionsbezeichnung (z.B. Entwicklungs-/Systemingenieur, Analogdesigner)";"Inhalte / Aufgaben des Projektes; 4 - 6 Punkte";"Verwendete Systeme und Tools";"MM/JJJJ";"MM/JJJJ";0;"";"";"Projektbeschreibung (Projekttätigkeit, Praktikum, Diplom-/Studienarbeit) oder Funktionsbezeichnung (z.B. Entwicklungs-/Systemingenieur, Analogdesigner)";"Inhalte / Aufgaben des Projektes; 4 - 6 Punkte";"Verwendete Systeme und Tools";"MM/JJJJ";"MM/JJJJ";0;"";"";"Projektbeschreibung (Projekttätigkeit, Praktikum, Diplom-/Studienarbeit) oder Funktionsbezeichnung (z.B. Entwicklungs-/Systemingenieur, Analogdesigner)";"Inhalte / Aufgaben des Projektes; 4 - 6 Punkte";"Verwendete Systeme und Tools";"MM/JJJJ";"MM/JJJJ";0;"";"";"Projektbeschreibung (Projekttätigkeit, Praktikum, Diplom-/Studienarbeit) oder Funktionsbezeichnung (z.B. Entwicklungs-/Systemingenieur, Analogdesigner)";"Inhalte / Aufgaben des Projektes; 4 - 6 Punkte";"Verwendete Systeme und Tools";"MM/JJJJ";"MM/JJJJ";0;"";"";"Projektbeschreibung (Projekttätigkeit, Praktikum, Diplom-/Studienarbeit) oder Funktionsbezeichnung (z.B. Entwicklungs-/Systemingenieur, Analogdesigner)";"Inhalte / Aufgaben des Projektes; 4 - 6 Punkte";"Verwendete Systeme und Tools";"MM/JJJJ";"MM/JJJJ";0;"";"";"Projektbeschreibung (Projekttätigkeit, Praktikum, Diplom-/Studienarbeit) oder Funktionsbezeichnung (z.B. Entwicklungs-/Systemingenieur, Analogdesigner)";"Inhalte / Aufgaben des Projektes; 4 - 6 Punkte";"Verwendete Systeme und Tools";"MM/JJJJ";"MM/JJJJ";0;"";"";"";"MM/JJJJ";"MM/JJJJ";0;"";"";"";"MM/JJJJ";"MM/JJJJ";0;"";"";"";"MM/JJJJ";"MM/JJJJ";0;"z. B. Agentur für Arbeit";"z. B. SAP R/3 Modul MM etc.";"MM/JJJJ";"MM/JJJJ";0;"z. B. Alpha Training";"z. B. Vollzeitschulung CATIA V5";"MM/JJJJ";"MM/JJJJ";0;"z. B. Bombardier Transportation";"z. B. MITRAC-Schulung";"keine Kenntnisse";"Weitere Sprache";"keine Kenntnisse";"keine Kenntnisse";"Weitere Sprache";"keine Kenntnisse";"Weitere Sprache";"keine Kenntnisse";"Weitere Sprache";"keine Kenntnisse";"Weitere Sprache";"keine Kenntnisse";"Weitere Sprache";"keine Kenntnisse";0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;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;0;0;0;0;0;0;0;0;0;0;" Sonstige";0;0;0;0;0;0;0;0;0;0;0;0;"Sonstige";0;0;0 ;0;0;0;0;0;0;0;0;0;"Sonstige";0;0;0;0;0;0;0;0;0;0; 0;0;"Sonstige";0;0;0;0;"z. B. DO 178 B";0;0;0;0;"z. B. ISO 15504";0;0;0;0;"Sonstige";0;0;0;0;"z. B. IEC 61131";0;0;0;0;"Sonstige";0;0;0;0;"Sonstige";0;0;0 ;0;"z. B. ISO 26262";0;0;0;0;"Sonstige";0;0;0;0;"Sonstige";0;0;0 ;0;0;0;0;0;0;0;0;0;"Sonstige";0;0;0;0;0;0;0;0;0;0; 0;0;"Sonstige";0;0;0;0;0;0;0;0;0;0;0;0;"Sonstige"; 0;0;0;0;0;0;0;0;"Sonstige";0;0;0;0;"Sonstige";0;0; 0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0; 0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0; 0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;"Sonstige" ;0;0;0;0;0;0;0;0;0;0;0;0;"Sonstige";0;0;0;0;0;0;0; 0;0;0;0;0;"Sonstige";0;0;0;0
Reply With Quote
  #17  
Old 04-25-2013, 12:34 AM
macropod's Avatar
macropod macropod is offline Data migration between two templates Windows 7 64bit Data migration between two templates Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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

The data in your latest post are the formfield contents. We do not need that for a macro to migrate the data, what we need are the formfield bookmark names for the field containing the data you want to transfer. You seem to have 850+ formfields in the document, some of which appear to be used for nothing more than titles, but those are not the bookmark names. To get the bookmark name for a formfield, right-click on it and examine its properties.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #18  
Old 04-25-2013, 05:34 AM
wordlearner16 wordlearner16 is offline Data migration between two templates Windows XP Data migration between two templates Office 2010 32bit
Novice
Data migration between two templates
 
Join Date: Apr 2013
Posts: 10
wordlearner16 is on a distinguished road
Default

Thanks so much reply.

The txt field has properties like, Typ of text (normal text), length of text (unlimited)and all of them has same properties. Some are controlfields.

hope I was correct in understanding the question.
Reply With Quote
  #19  
Old 04-25-2013, 03:45 PM
macropod's Avatar
macropod macropod is offline Data migration between two templates Windows 7 64bit Data migration between two templates Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
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

One of the properties for a formfield is 'Bookmark' to process the data with a macro, one needs to know the bookmark names or have some other way of relating the fields in one document to the fields in another.

To give yourself an idea of what's involved, imagine you're in my situation. I have never seen the documents, so I need clear instructions on where I can find the 'name' field in the source document and the corresponding field in the destination document. The same applies to every datum you want to transfer. That's basically how a macro works. A macro has no idea of how the documents are structured; all it has is a set of instructions and, if they're wrong, you might end up with the macro crashing or putting data where they don't belong.

I don't know what you mean by 'controlfields'.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #20  
Old 04-25-2013, 10:45 PM
fumei fumei is offline Data migration between two templates Windows 7 64bit Data migration between two templates Office XP
Expert
 
Join Date: Jan 2013
Posts: 440
fumei is on a distinguished road
Default

I don't know if this helps, but say you have:

FF_Doc_A.doc has x formfields (x = any number)
FF_Doc_B.doc has x formfields

FF_Doc.B formfield names match EXACTLY the names in FF_Doc_A. The results of the formfields in B becomes equal to the results of the identically named formfields in A. For the code below, the ActiveDocument is FF_Doc_A, and FF_Doc_B is open (i.e. in the Documents collection).
Code:
Option Explicit
Sub CopyStuff()
Dim docFF As FormFields
Dim oFF As FormField
Dim strTempName As String
Set docFF = ActiveDocument.FormFields
For Each oFF In docFF
   strTempName = oFF.Name
   Documents("FF_Doc_B.doc").FormFields(strTempName).Result = _
         oFF.Result
Next
End Sub
N.B. to be proper code, the above needs testing for type of formfields. Dropdown fornfields will fail (but the code can be altered to make them work). It works best for text formfields. It is only to give you an idea.
Reply With Quote
  #21  
Old 04-26-2013, 01:47 AM
wordlearner16 wordlearner16 is offline Data migration between two templates Windows XP Data migration between two templates Office 2010 32bit
Novice
Data migration between two templates
 
Join Date: Apr 2013
Posts: 10
wordlearner16 is on a distinguished road
Default

Thanks so much.

I am off from work today. And definitely will let you know my progress on tuesday.

Thanks again.
Reply With Quote
Reply

Tags
data migration, templates



Similar Threads
Thread Thread Starter Forum Replies Last Post
Edit Data Source- Linking template charts to new data lbf PowerPoint 0 10-28-2011 12:19 PM
Data migration between two templates Address Book migration problem... DeMarcos Outlook 1 06-16-2010 06:22 AM
Migration of Office 2003 License (re-activation) dbabic Office 0 11-19-2009 09:54 AM
Problems with Migration and Rules Wizard RealtyConnect Outlook 0 04-23-2008 11:18 PM
Outlook 2000 SR1a Auto-Resolve Change after EX2K3 Migration Richard McConnell Outlook 0 02-02-2006 12:02 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:35 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft