![]() |
|
#1
|
|||
|
|||
|
Code:
Sub CreatDoc()
Dim newDoc As Document
Dim rg As Range
Set newDoc = Documents.Add
Set rg = ActiveDocument.Range(Start:=0, End:=0)
newDoc.Tables.Add Range:=rg, NumRows:=1, NumColumns:=1
With newDoc.Tables(1).Cell(1, 1)
.Range.Text = "Hi!"
'How do I change the style of the text in table 1 cell(1,1)?
End With
End Sub
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Change Footer style
|
msm6165 | PowerPoint | 1 | 07-17-2011 03:40 PM |
Change style of list simultaneously
|
icegood | Word | 2 | 07-08-2011 07:46 AM |
| Matching text style to drawing object style | notarichman | PowerPoint | 0 | 03-07-2011 11:34 AM |
How to change font style in wordart....
|
licsivaraman | Drawing and Graphics | 2 | 01-24-2011 11:27 PM |
| Need to delete style and style text | mclan | Word | 0 | 08-04-2008 12:05 PM |