View Single Post
 
Old 03-09-2020, 04:28 AM
SamDsouza SamDsouza is offline Windows 10 Office 2013
Advanced Beginner
 
Join Date: Aug 2019
Posts: 71
SamDsouza is on a distinguished road
Default

Extremely Sorry Sir,

I got error when you posted the following code
at same point InchesToPoints(7.5) Variable not defined.
Quote:
Const wdAlignTabRight As Long = 2
Dim oLogo As Object
'….
With .Sections.First.Footers(wdHeaderFooterPrimary).Ran ge.Paragraphs(1).Range
.Text = "Footer Note" & vbTab
.Paragraphs(1).TabStops.Add InchesToPoints(7.5), wdAlignTabRight
Set oLogo = .InlineShapes.AddPicture("C:\FORMS\1-Seal.jpg", False, True, .Characters.Last)
With oLogo
.Height = 75
.Width = 100
End With
End With
Then i explored the net and found the VBA link with your reply which i thought would be useful Because my Image Size was big and rather did not fit in foot note and probably attractive if the img goes behind the text which i never thought of.

I am novice in basic learning phase with VBA word.
Reply With Quote