#16
|
|||
|
|||
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;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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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 |
#17
|
||||
|
||||
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] |
#18
|
|||
|
|||
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. |
#19
|
||||
|
||||
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] |
#20
|
|||
|
|||
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 |
#21
|
|||
|
|||
Thanks so much.
I am off from work today. And definitely will let you know my progress on tuesday. Thanks again. |
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 |
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 |