![]() |
#1
|
|||
|
|||
![]() Hello, I'm totally clueless. I'm added a textfield in a way like this : Set ShAuthor = DC.Shapes.AddTextbox(Orientation:=msoTextOrientati onHorizontal, Left:=50, Top:=50, Width:=100, Height:=100) With ShAuthor .Fill.ForeColor.RGB = RGB(209, 209, 209) .Left = Psu.PageWidth / LOGO_SHIFT_TO_RIGHT_REL .Top = -1 * (Psu.TopMargin - 15) + CentimetersToPoints(7) .Width = CentimetersToPoints(10) .Height = CentimetersToPoints(1) .TextFrame.TextRange.Text = "Author : " & "TestAuthor" .TextFrame.TextRange.Bold = True .TextFrame.TextRange.Font.TextColor = RGB(0, 80, 113) I works fine, the same code in an other document, the red marked line could not be executed, because <Dieser Befehl ist nicht verfügbar.> or The command is not available. Same code, different results... I don't know why ... can anybody help ??? THX Andreas |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
iiiiifffff | Word VBA | 16 | 06-04-2016 01:47 AM |
Macro to find coloured text and replace with form-field/formtext containing that text | tarktran | Word VBA | 1 | 11-26-2014 08:12 AM |
Chart Formating with ChartTitle Font and DataLabel Formating | shilabrow | Excel Programming | 0 | 06-30-2014 10:01 AM |
![]() |
olson109 | Word | 5 | 03-12-2014 01:02 AM |
Unable to enter text in text field | yewee | Word | 0 | 08-06-2010 03:20 AM |