TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
RE: Getting out of a table in VBA, was:TECHWR-L Digest, Vol 69, Issue 16
Subject:RE: Getting out of a table in VBA, was:TECHWR-L Digest, Vol 69, Issue 16 From:"Peter Hirons" <peter -at- galley -dot- ie> To:<techwr-l -at- lists -dot- techwr-l -dot- com> Date:Thu, 21 Jul 2011 15:10:09 +0100
Please change the subject line to something meaningful when replying to
digests.
Peter
-----Original Message-----
From: techwr-l-bounces+peter=galley -dot- ie -at- lists -dot- techwr-l -dot- com
[mailto:techwr-l-bounces+peter=galley -dot- ie -at- lists -dot- techwr-l -dot- com] On Behalf Of
Rick_Bishop
Sent: Thursday, July 21, 2011 2:50 PM
To: techwr-l -at- lists -dot- techwr-l -dot- com
Subject: RE: TECHWR-L Digest, Vol 69, Issue 16
Here ya go Larry. This should do it.
Sub AddTableContinue()
'
' AddTableContinue Macro
' Creates a new 3x4 table followed by a hard page break.
'
ActiveDocument.Tables.Add Range:=Selection.Range, _
NumRows:=3, NumColumns:=4, _
DefaultTableBehavior:=wdWord9TableBehavior, _
AutoFitBehavior:=wdAutoFitFixed
Selection.Tables(1).Select
Selection.MoveDown Unit:=wdLine, Count:=1
Selection.TypeParagraph
Selection.MoveUp Unit:=wdLine, Count:=1
Selection.Style = ActiveDocument.Styles("Body Text")
Selection.InsertBreak Type:=0
Selection.TypeParagraph
' Do whatever you like next.
End Sub
Date: Wed, 20 Jul 2011 08:22:12 -0700 (PDT)
From: Larry Landis <lawrence_landis -at- yahoo -dot- com>
To: techwr-l -at- lists -dot- techwr-l -dot- com
Subject: Getting out of a table in VBA
After the table, I'd then like to enter a page break and continue on
doing other things - inserting text, adding another table, etc.
But how do I move the insertion point from the table's cell(1,1)? I've
tried collapsing the selection to its end, going to the built-in
\EndOfDoc bookmark, etc., but nothing seems to work.
Create and publish documentation through multiple channels with
Doc-To-Help.
Choose your authoring formats and get any output you may need. Try
Doc-To-Help, now with MS SharePoint integration, free for 30-days. http://www.doctohelp.com
---
You are currently subscribed to TECHWR-L as peter -at- galley -dot- ie -dot-
Create and publish documentation through multiple channels with Doc-To-Help.
Choose your authoring formats and get any output you may need. Try
Doc-To-Help, now with MS SharePoint integration, free for 30-days. http://www.doctohelp.com
---
You are currently subscribed to TECHWR-L as archive -at- web -dot- techwr-l -dot- com -dot-