William
Thu Jul 01 16:54:02 CDT 2004
hi,
thanks. i created a big table with 1 column and 3 rows on the page for layout. then, i created continuous sections on the first and the third rows because in the future, i want to protect data in the rows/sections. when i execute the following code, the module always writes to the first row of the table even if the page is NOT protected at all. on the other hand, if i remove the sections form the rows, the module seems to work fine. does anyone has any idea?
Sub InsertTextInCell()
If ActiveDocument.Tables.Count >= 1 Then
With ActiveDocument.Tables(1).Cell(Row:=3, Column:=1).Range
.Delete
.InsertAfter Text:="Cell 3,1"
End With
End If
End Sub
thanks,
william. :O)
--
"Jonathan West" wrote:
>
> "William" <William@discussions.microsoft.com> wrote in message
> news:5848B966-0B10-4943-87A4-4809B4E63302@microsoft.com...
> > hi,
> >
> > in vba for word xp, how can i insert the table to the very, very end of
> the first page of the doc.? put a frame at the end, and insert the table to
> it?
> >
> > thanks,
>
>
> How about inserting the table into the first page footer. Would that do?
>
>
> --
> Regards
> Jonathan West - Word MVP
> www.intelligentdocuments.co.uk
> Please reply to the newsgroup
>
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (
http://www.grisoft.com).
> Version: 6.0.713 / Virus Database: 469 - Release Date: 30/06/2004
>
>