https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/106199&feed=atom&action=history
Microsoft KB Archive/106199 - Revision history
2024-03-28T16:18:25Z
Revision history for this page on the wiki
MediaWiki 1.39.3
https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/106199&diff=263792&oldid=prev
X010: Text replacement - """ to """
2020-07-20T09:08:55Z
<p>Text replacement - """ to """</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en-GB">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 09:08, 20 July 2020</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l39">Line 39:</td>
<td colspan="2" class="diff-lineno">Line 39:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><br /></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><br /></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>InsertExcelTable</blockquote></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>InsertExcelTable</blockquote></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>This article supplements the information in online Help. To open this Help topic, choose Contents from the Help menu and then choose the <del style="font-weight: bold; text-decoration: none;">&quot;</del>Programming with Microsoft Word<del style="font-weight: bold; text-decoration: none;">&quot; </del>topic.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>This article supplements the information in online Help. To open this Help topic, choose Contents from the Help menu and then choose the <ins style="font-weight: bold; text-decoration: none;">"</ins>Programming with Microsoft Word<ins style="font-weight: bold; text-decoration: none;">" </ins>topic.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><br /></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><br /></div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l46">Line 46:</td>
<td colspan="2" class="diff-lineno">Line 46:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== MORE INFORMATION ==</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== MORE INFORMATION ==</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>WARNING: ANY USE BY YOU OF THE CODE PROVIDED IN THIS ARTICLE IS AT YOUR OWN RISK. Microsoft provides this macro code <del style="font-weight: bold; text-decoration: none;">&quot;</del>as is<del style="font-weight: bold; text-decoration: none;">&quot; </del>without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>WARNING: ANY USE BY YOU OF THE CODE PROVIDED IN THIS ARTICLE IS AT YOUR OWN RISK. Microsoft provides this macro code <ins style="font-weight: bold; text-decoration: none;">"</ins>as is<ins style="font-weight: bold; text-decoration: none;">" </ins>without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>=== InsertSound ===</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>=== InsertSound ===</div></td></tr>
<tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l72">Line 72:</td>
<td colspan="2" class="diff-lineno">Line 72:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><pre class="CODESAMP"> Sub MAIN</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><pre class="CODESAMP"> Sub MAIN</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> Begin Dialog UserDialog 306, 214, <del style="font-weight: bold; text-decoration: none;">&quot;</del>Object Selector<del style="font-weight: bold; text-decoration: none;">&quot;</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> Begin Dialog UserDialog 306, 214, <ins style="font-weight: bold; text-decoration: none;">"</ins>Object Selector<ins style="font-weight: bold; text-decoration: none;">"</ins></div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> GroupBox 45, 25, 204, 150, <del style="font-weight: bold; text-decoration: none;">&quot;</del>Insert which type of object?<del style="font-weight: bold; text-decoration: none;">&quot;</del></div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> GroupBox 45, 25, 204, 150, <ins style="font-weight: bold; text-decoration: none;">"</ins>Insert which type of object?<ins style="font-weight: bold; text-decoration: none;">"</ins></div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> OptionGroup .OptionGroup1</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> OptionGroup .OptionGroup1</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> OptionButton 57, 50, 111, 16, <del style="font-weight: bold; text-decoration: none;">&quot;</del>InsertSound<del style="font-weight: bold; text-decoration: none;">&quot;</del>, .OptionButton1</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> OptionButton 57, 50, 111, 16, <ins style="font-weight: bold; text-decoration: none;">"</ins>InsertSound<ins style="font-weight: bold; text-decoration: none;">"</ins>, .OptionButton1</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> OptionButton 57, 65, 123, 16, <del style="font-weight: bold; text-decoration: none;">&quot;</del>InsertWordArt<del style="font-weight: bold; text-decoration: none;">&quot;</del>, .OptionButton2</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> OptionButton 57, 65, 123, 16, <ins style="font-weight: bold; text-decoration: none;">"</ins>InsertWordArt<ins style="font-weight: bold; text-decoration: none;">"</ins>, .OptionButton2</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> OptionButton 57, 80, 103, 16, <del style="font-weight: bold; text-decoration: none;">&quot;</del>InsertChart<del style="font-weight: bold; text-decoration: none;">&quot;</del>, .OptionButton3</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> OptionButton 57, 80, 103, 16, <ins style="font-weight: bold; text-decoration: none;">"</ins>InsertChart<ins style="font-weight: bold; text-decoration: none;">"</ins>, .OptionButton3</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> OptionButton 57, 110, 123, 16, <del style="font-weight: bold; text-decoration: none;">&quot;</del>InsertDrawing<del style="font-weight: bold; text-decoration: none;">&quot;</del>, .OptionButton4</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> OptionButton 57, 110, 123, 16, <ins style="font-weight: bold; text-decoration: none;">"</ins>InsertDrawing<ins style="font-weight: bold; text-decoration: none;">"</ins>, .OptionButton4</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> OptionButton 57, 125, 128, 16, <del style="font-weight: bold; text-decoration: none;">&quot;</del>InsertEquation<del style="font-weight: bold; text-decoration: none;">&quot;</del>, .OptionButton5</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> OptionButton 57, 125, 128, 16, <ins style="font-weight: bold; text-decoration: none;">"</ins>InsertEquation<ins style="font-weight: bold; text-decoration: none;">"</ins>, .OptionButton5</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div> OptionButton 57, 140, 146, 16, <del style="font-weight: bold; text-decoration: none;">&quot;</del>InsertExcelTable<del style="font-weight: bold; text-decoration: none;">&quot;</del>, .OptionButton6</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div> OptionButton 57, 140, 146, 16, <ins style="font-weight: bold; text-decoration: none;">"</ins>InsertExcelTable<ins style="font-weight: bold; text-decoration: none;">"</ins>, .OptionButton6</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> OKButton 47, 186, 88, 21</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> OKButton 47, 186, 88, 21</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> CancelButton 162, 186, 88, 21</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div> CancelButton 162, 186, 88, 21</div></td></tr>
</table>
X010
https://www.betaarchive.com/wiki/index.php?title=Microsoft_KB_Archive/106199&diff=49508&oldid=prev
3155ffGd: importing KB archive
2020-07-18T15:04:31Z
<p>importing KB archive</p>
<p><b>New page</b></p><div>{|<br />
|width="100%"|<br />
== WD: WordBasic Examples: Insert Commands ==<br />
|}<br />
<br />
Q106199<br />
<br />
<br />
-----<br />
<br />
The information in this article applies to:<br /><br />
<br />
<br />
* Microsoft Word for Windows, versions 6.0, 6.0a, 6.0c<br />
* Microsoft Word for Windows NT, version 6.0<br />
* Microsoft Word for Windows, versions 7.0, 7.0a<br />
<br />
<br />
-----<br />
<br />
<br /><br />
<br />
<br />
== SUMMARY ==<br />
<br />
This article contains an example that demonstrates the use of the following WordBasic statements or functions:<br />
<br />
<blockquote>InsertSound<br /><br />
<br /><br />
InsertWordArt<br /><br />
<br /><br />
InsertChart<br /><br />
<br /><br />
InsertDatabase<br /><br />
<br /><br />
InsertDrawing<br /><br />
<br /><br />
InsertEquation<br /><br />
<br /><br />
InsertExcelTable</blockquote><br />
This article supplements the information in online Help. To open this Help topic, choose Contents from the Help menu and then choose the &quot;Programming with Microsoft Word&quot; topic.<br />
<br />
<br /><br />
<br />
<br />
== MORE INFORMATION ==<br />
<br />
WARNING: ANY USE BY YOU OF THE CODE PROVIDED IN THIS ARTICLE IS AT YOUR OWN RISK. Microsoft provides this macro code &quot;as is&quot; without warranty of any kind, either express or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.<br />
<br />
=== InsertSound ===<br />
<br />
Syntax:<br />
<br />
<blockquote>InsertSound</blockquote><br />
=== InsertWordArt ===<br />
<br />
Syntax:<br />
<br />
<blockquote>InsertWordArt</blockquote><br />
All of the commands listed above follow the same syntax as InsertSound and InsertWordArt. The only exception is InsertDatabase. A syntax example for InsertDatabase follows:<br />
<br />
=== InsertDatabase ===<br />
<br />
Syntax:<br />
<br />
<pre class="CODESAMP"> InsertDatabase [.Format = number] [, .Style = number] \ <br />
[, .LinkToSource = number] [, .Connection = text] \ <br />
[, .SQLStatement = text] [, .SQLStatement1 = text] \ <br />
[, .PasswordDoc = text] [, .PasswordDot = text] [, .DataSource = \ <br />
text] [, .From = text] [, .To = text] [, .IncludeFields = number] </pre><br />
=== Macro Example ===<br />
<br />
<pre class="CODESAMP"> Sub MAIN<br />
Begin Dialog UserDialog 306, 214, &quot;Object Selector&quot;<br />
GroupBox 45, 25, 204, 150, &quot;Insert which type of object?&quot;<br />
OptionGroup .OptionGroup1<br />
OptionButton 57, 50, 111, 16, &quot;InsertSound&quot;, .OptionButton1<br />
OptionButton 57, 65, 123, 16, &quot;InsertWordArt&quot;, .OptionButton2<br />
OptionButton 57, 80, 103, 16, &quot;InsertChart&quot;, .OptionButton3<br />
OptionButton 57, 110, 123, 16, &quot;InsertDrawing&quot;, .OptionButton4<br />
OptionButton 57, 125, 128, 16, &quot;InsertEquation&quot;, .OptionButton5<br />
OptionButton 57, 140, 146, 16, &quot;InsertExcelTable&quot;, .OptionButton6<br />
OKButton 47, 186, 88, 21<br />
CancelButton 162, 186, 88, 21<br />
End Dialog<br />
Dim dlg As UserDialog<br />
On Error Goto bye<br />
Dialog dlg<br />
choice = dlg.optiongroup1<br />
Select Case choice<br />
Case 0<br />
InsertSound<br />
Case 1<br />
InsertWordArt<br />
Case 2<br />
InsertChart<br />
Case 3<br />
InsertDrawing<br />
Case 4<br />
InsertEquation<br />
Case 5<br />
InsertExcelTable<br />
Case Else<br />
End Select<br />
bye:<br />
End Sub </pre><br />
Additional query words:<br />
<br />
Keywords : wordnt kbmacroexample winword ntword word6 winword2 word7 word95<br /><br />
Issue type : kbinfo<br /><br />
Technology :<br />
<br />
{|<br />
|width="100%"| <br /><br />
Last Reviewed: November 4, 2000<br /><br />
<span>© 2001 Microsoft Corporation. All rights reserved. Terms of Use.</span><br /><br />
|}</div>
3155ffGd