<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
	<channel>
		<title>ProZ.com Translation Forums</title>
		<link>http://www.proz.com/forums/</link>
		<atom:link href="http://www.proz.com/forums/" rel="self" type="application/rss+xml"/>		<description>Topic: Create a Word macro</description>
		<language>en-us</language>
		<pubDate>Sat, 07 Nov 2026 18:40:42 +0000</pubDate>
		<lastBuildDate>Sat, 07 Nov 2026 18:40:42 +0000</lastBuildDate>
		<docs>http://www.proz.com/faq</docs>
		<managingEditor>support@proz.com (ProZ.com Support)</managingEditor>
		<webMaster>support@proz.com (ProZ.com Support)</webMaster>
		<item>
			<title>Create a Word macro | Thanks</title>
			<author>Jean-Christophe Duc</author>
			<category>General technical issues</category>
			<link>http://www.proz.com/post/3053072#3053072</link>
			<pubDate>Fri, 30 Aug 2024 11:07:00 +0000</pubDate>
			<description>&lt;b&gt;Forum:&lt;/b&gt; General technical issues&lt;br/&gt;&lt;b&gt;Topic:&lt;/b&gt; Create a Word macro&lt;br/&gt;&lt;b&gt;Poster:&lt;/b&gt; Jean-Christophe Duc&lt;br/&gt;&lt;b&gt;Post title:&lt;/b&gt; Thanks&lt;br/&gt;&lt;br/&gt;I was also wondering how to make positive use of ChatGPT,&lt;br /&gt;this could be a good starting point</description>
		</item>
		<item>
			<title>Create a Word macro | maybe?</title>
			<author>Philippe Locquet</author>
			<category>General technical issues</category>
			<link>http://www.proz.com/post/3053071#3053071</link>
			<pubDate>Fri, 30 Aug 2024 11:05:00 +0000</pubDate>
			<description>&lt;b&gt;Forum:&lt;/b&gt; General technical issues&lt;br/&gt;&lt;b&gt;Topic:&lt;/b&gt; Create a Word macro&lt;br/&gt;&lt;b&gt;Poster:&lt;/b&gt; Philippe Locquet&lt;br/&gt;&lt;b&gt;Post title:&lt;/b&gt; maybe?&lt;br/&gt;&lt;br/&gt;Hi,&lt;br /&gt;&lt;br /&gt;Not sure if this will help but, I&#039;ve had success in the past working on VBA using Copilot or Chat GPT. Adjusting the prompts and iteration was needed but, I got there in the end. This can be useful if you&#039;re not familiar with that kind of code and if you are willing to spend time on it.&lt;br /&gt;</description>
		</item>
		<item>
			<title>Create a Word macro | @Stepan</title>
			<author>Jean-Christophe Duc</author>
			<category>General technical issues</category>
			<link>http://www.proz.com/post/3052928#3052928</link>
			<pubDate>Thu, 29 Aug 2024 08:13:00 +0000</pubDate>
			<description>&lt;b&gt;Forum:&lt;/b&gt; General technical issues&lt;br/&gt;&lt;b&gt;Topic:&lt;/b&gt; Create a Word macro&lt;br/&gt;&lt;b&gt;Poster:&lt;/b&gt; Jean-Christophe Duc&lt;br/&gt;&lt;b&gt;Post title:&lt;/b&gt; @Stepan&lt;br/&gt;&lt;br/&gt;Thanks for the tip</description>
		</item>
		<item>
			<title>Create a Word macro | Just in case it may help you in your further research...</title>
			<author>Stepan Konev</author>
			<category>General technical issues</category>
			<link>http://www.proz.com/post/3052909#3052909</link>
			<pubDate>Thu, 29 Aug 2024 00:00:00 +0000</pubDate>
			<description>&lt;b&gt;Forum:&lt;/b&gt; General technical issues&lt;br/&gt;&lt;b&gt;Topic:&lt;/b&gt; Create a Word macro&lt;br/&gt;&lt;b&gt;Poster:&lt;/b&gt; Stepan Konev&lt;br/&gt;&lt;b&gt;Post title:&lt;/b&gt; Just in case it may help you in your further research...&lt;br/&gt;&lt;br/&gt;I created that macro by recording my clicks and key strokes.&lt;br /&gt;Start recording a macro then click and press as follows:&lt;br /&gt;&lt;br /&gt;1. Press F5&lt;br /&gt;2. Select &#039;Table&#039;&lt;br /&gt;3. Click &#039;Next&#039;&lt;br /&gt;4. Click &#039;Close&#039;&lt;br /&gt;5. Press Alt+Shift+PageDown&lt;br /&gt;6. Press Ctrl+C&lt;br /&gt;7. Press Ctrl+V&lt;br /&gt;8. Press Ctrl+Shift+H&lt;br /&gt;9. Press Arrow Down&lt;br /&gt;&lt;br /&gt;Stop recording. &lt;br /&gt;Now you get a macro that you can run in VBA mode by pressing F5 multiple times as I described above in my previous comment.&lt;br&gt;&lt;br&gt;[Edited at 2024-08-29 00:56 GMT]</description>
		</item>
		<item>
			<title>Create a Word macro | Try this VBA macro (Alt+F11, Insert Module ... F5)</title>
			<author>Stepan Konev</author>
			<category>General technical issues</category>
			<link>http://www.proz.com/post/3052906#3052906</link>
			<pubDate>Wed, 28 Aug 2024 23:55:00 +0000</pubDate>
			<description>&lt;b&gt;Forum:&lt;/b&gt; General technical issues&lt;br/&gt;&lt;b&gt;Topic:&lt;/b&gt; Create a Word macro&lt;br/&gt;&lt;b&gt;Poster:&lt;/b&gt; Stepan Konev&lt;br/&gt;&lt;b&gt;Post title:&lt;/b&gt; Try this VBA macro (Alt+F11, Insert Module ... F5)&lt;br/&gt;&lt;br/&gt;I assume that you have multiple tables in a file scattered in between other regular text paragraphs:&lt;br /&gt;&lt;i&gt;Blah-blah-blah.&lt;br /&gt;[Table1]&lt;br /&gt;Blah-blah-blah. Blah-blah-blah.&lt;br /&gt;[Table2]&lt;br /&gt;Blah-blah-blah-blah-blah.&lt;br /&gt;[Table3]&lt;/i&gt;&lt;br /&gt;etc...&lt;br /&gt; If this is not your case, please let me know.&lt;br /&gt;======&lt;br /&gt;Sub DuplicateTables()&lt;br /&gt;&#039;&lt;br /&gt;&#039; DuplicateTables Macro&lt;br /&gt;&#039;&lt;br /&gt;&#039;&lt;br /&gt;    Selection.GoTo What:=wdGoToTable, Which:=wdGoToNext, Count:=1, Name:=&quot;&quot;&lt;br /&gt;    Selection.Find.ClearFormatting&lt;br /&gt;    With Selection.Find&lt;br /&gt;        .Text = &quot;&quot;&lt;br /&gt;        .Replacement.Text = &quot;&quot;&lt;br /&gt;        .Forward = True&lt;br /&gt;        .Wrap = wdFindContinue&lt;br /&gt;        .Format = False&lt;br /&gt;        .MatchCase = False&lt;br /&gt;        .MatchWholeWord = False&lt;br /&gt;        .MatchKashida = False&lt;br /&gt;        .MatchDiacritics = False&lt;br /&gt;        .MatchAlefHamza = False&lt;br /&gt;        .MatchControl = False&lt;br /&gt;        .MatchByte = False&lt;br /&gt;        .MatchAllWordForms = False&lt;br /&gt;        .MatchSoundsLike = False&lt;br /&gt;        .MatchWildcards = False&lt;br /&gt;        .MatchFuzzy = False&lt;br /&gt;    End With&lt;br /&gt;    Selection.EndKey Unit:=wdColumn, Extend:=True&lt;br /&gt;    Selection.Copy&lt;br /&gt;    Selection.Paste&lt;br /&gt;    Selection.Font.Hidden = wdToggle&lt;br /&gt;    Selection.MoveDown Unit:=wdLine, Count:=1&lt;br /&gt;End Sub&lt;br /&gt;======&lt;br /&gt;*Press F5 [while in the VBA module window] as many times as you need to reach the end of your document. Probably you can make it run multiple times until it has reached the end of document, but I don&#039;t know how.&lt;br&gt;&lt;br&gt;[Edited at 2024-08-29 00:26 GMT]</description>
		</item>
		<item>
			<title>Create a Word macro | Thanks</title>
			<author>Jean-Christophe Duc</author>
			<category>General technical issues</category>
			<link>http://www.proz.com/post/3052886#3052886</link>
			<pubDate>Wed, 28 Aug 2024 17:08:00 +0000</pubDate>
			<description>&lt;b&gt;Forum:&lt;/b&gt; General technical issues&lt;br/&gt;&lt;b&gt;Topic:&lt;/b&gt; Create a Word macro&lt;br/&gt;&lt;b&gt;Poster:&lt;/b&gt; Jean-Christophe Duc&lt;br/&gt;&lt;b&gt;Post title:&lt;/b&gt; Thanks&lt;br/&gt;&lt;br/&gt;however I am told&lt;br /&gt;If tbl.Columns.Count  2 Then &lt;br /&gt;is not correct&lt;br /&gt;&lt;br /&gt;However the rest of the macro works perfectly.&lt;br /&gt;Many thanks&lt;br&gt;&lt;br&gt;[Edited at 2024-08-28 17:35 GMT]</description>
		</item>
		<item>
			<title>Create a Word macro | Here&#039;s one approach</title>
			<author>Dan Lucas</author>
			<category>General technical issues</category>
			<link>http://www.proz.com/post/3052883#3052883</link>
			<pubDate>Wed, 28 Aug 2024 16:53:00 +0000</pubDate>
			<description>&lt;b&gt;Forum:&lt;/b&gt; General technical issues&lt;br/&gt;&lt;b&gt;Topic:&lt;/b&gt; Create a Word macro&lt;br/&gt;&lt;b&gt;Poster:&lt;/b&gt; Dan Lucas&lt;br/&gt;&lt;b&gt;Post title:&lt;/b&gt; Here&#039;s one approach&lt;br/&gt;&lt;br/&gt;Maybe something like this?&lt;br /&gt;You need to be careful with this because it goes through all tables in the document, so they all need to have the same layout.&lt;br /&gt;Indenting didn&#039;t come out very well...&lt;br /&gt;Very minimal testing, but does work for a simple document with one table.&lt;br /&gt;&lt;br /&gt;Sub CopyAndHideTextInAllTables()&lt;br /&gt;&lt;br /&gt;    Dim tbl As Table&lt;br /&gt;    Dim cell As Cell&lt;br /&gt;    Dim rowIndex As Long&lt;br /&gt;    Dim tblIndex As Long&lt;br /&gt;&lt;br /&gt;    Application.ScreenUpdating = False&lt;br /&gt;    &lt;br /&gt;    &#039; Loop through each table in the document&lt;br /&gt;    For tblIndex = 1 To ActiveDocument.Tables.Count&lt;br /&gt;        Set tbl = ActiveDocument.Tables(tblIndex)&lt;br /&gt;        &lt;br /&gt;        &#039; Loop through each row in the current table&lt;br /&gt;        For rowIndex = 1 To tbl.Rows.Count&lt;br /&gt;            &#039; Copy text from Column 1 to Column 2&lt;br /&gt;            tbl.Cell(rowIndex, 2).Range.Text = tbl.Cell(rowIndex, 1).Range.Text&lt;br /&gt;            &lt;br /&gt;            &#039; Set text in Column 1 to hidden&lt;br /&gt;            With tbl.Cell(rowIndex, 1).Range.Font&lt;br /&gt;                .Hidden = True&lt;br /&gt;            End With&lt;br /&gt;        Next rowIndex&lt;br /&gt;        &lt;br /&gt;        &#039; Remove the third column if it exists&lt;br /&gt;        If tbl.Columns.Count &gt; 2 Then&lt;br /&gt;            tbl.Columns(3).Delete&lt;br /&gt;        End If&lt;br /&gt;    Next tblIndex&lt;br /&gt;    &lt;br /&gt;    Application.ScreenUpdating = True&lt;br /&gt;&lt;br /&gt;    MsgBox &quot;Operation completed successfully for all tables!&quot;, vbInformation&lt;br /&gt;&lt;br /&gt;End Sub&lt;br /&gt;&lt;br /&gt;</description>
		</item>
		<item>
			<title>Create a Word macro</title>
			<author>Jean-Christophe Duc</author>
			<category>General technical issues</category>
			<link>http://www.proz.com/post/3052874#3052874</link>
			<pubDate>Wed, 28 Aug 2024 15:47:00 +0000</pubDate>
			<description>&lt;b&gt;Forum:&lt;/b&gt; General technical issues&lt;br/&gt;&lt;b&gt;Topic:&lt;/b&gt; Create a Word macro&lt;br/&gt;&lt;b&gt;Poster:&lt;/b&gt; Jean-Christophe Duc&lt;br/&gt;&lt;br/&gt;Hi&lt;br /&gt;I am trying to create a macro to create a bilingual file for translation in Studio.&lt;br /&gt;&lt;br /&gt;The file I get has a series of tables, 2 columns each, one with the text to translate, the other empty for the translation.&lt;br /&gt;&lt;br /&gt;I am trying to copy the text from column 1 into column 2, then to go back to column 1 and set it to Hidden text.&lt;br /&gt;This operation creates a 3rd column, which I need to delete.&lt;br /&gt;&lt;br /&gt;I thought I could record a simple macro, but you cannot record mouse operations, and I don&#039;t know VBA well enough to create this operation.&lt;br /&gt;&lt;br /&gt;</description>
		</item>
	</channel>
</rss>