Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-07-2017, 04:06 AM
ZiggyPop ZiggyPop is offline Macro to add terminology via inputbox Windows 7 32bit Macro to add terminology via inputbox Office 2007
Novice
Macro to add terminology via inputbox
 
Join Date: Mar 2017
Posts: 1
ZiggyPop is on a distinguished road
Default Macro to add terminology via inputbox

I need your kind help with a (Word 2007) macro that would enable me to manually create termbases.
To this end I use bitexts - in essence plain txt files with texts in two languages. Sentences (or segments) are aligned, i.e. tab-separated.
I can easily copy them to Word for further processing.


Example:
Quote:
1. The seat of the Court shall be established at The Hague in the Netherlands ("the host State").{THIS IS WHERE A TAB SEPARATES THE SEGMENTS/SENTENCES}(1) Sjedište suda je u Den Haagu, Nizozemska ("država domaćin").
2. The Court shall enter into a headquarters agreement with the host State, to be approved by the Assembly of States Parties and thereafter concluded by the President of the Court on its behalf.{TAB AGAIN}(2) Sud s državom domaćinom zaključuje ugovor o sjedištu kojeg potvrđuje Skupština država stranaka te nakon toga u ime Suda zaključuje njegov Predsjednik.
Now, I would like to be able to copy/select the term seat of the Court from the first sentence and its equivalent Sjedište suda, and preferably have them both pop up pasted in an input box, with some sort of delimiter (say, a pipe or whatever).
Why the input box? Because I would like to instantly edit the source and target terms (mostly gender-, number- and case-related declension issues in Croatian).
The resulting termbase should be "written" either in a new file or appended to the end of the document, but nevertheless like this:
Quote:
seat of the Court{TAB OR PIPE OR SOME OTHER DELIMITER}sjedište suda
host State{DELIMITER}država domaćin
President of the Court{DELIMITER}predsjednik Suda
(Mind the changes in Croatian equivalents.)

Please note that I have already made two macros for a similar on-the-fly adding of terminology to the end of the document, but I would really like to avoid excessive post-editing and the ever proverbial various faux pas. I do believe that the inputbox method is the only way to go. However, I am a total moron in this field, and hence this appeal.
Thank you!
Reply With Quote
Reply

Tags
inputbox, macro, tab-delimited



Similar Threads
Thread Thread Starter Forum Replies Last Post
InputBox selects rows Dave T Excel Programming 5 09-05-2016 06:58 AM
VBA Macro for word with Inputbox ryanch69 Word VBA 2 12-03-2015 07:45 AM
Macro to add terminology via inputbox Idiot Proof Entry with InputBox arpirnat Word VBA 1 04-27-2015 10:03 PM
Taking input from InputBox from user SeattleITguy Excel Programming 1 01-28-2015 09:05 AM
Modify vba code to print based on name in the InputBox OTPM Project 0 05-25-2011 02:03 AM

Other Forums: Access Forums

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