1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

How to add picture at bottom of a page

Discussion in 'Business Applications' started by wango, Nov 29, 2001.

Thread Status:
Not open for further replies.
  1. wango

    wango Thread Starter

    Joined:
    Nov 13, 2001
    Messages:
    74
    Does anyone know how to add a picture at the end og and document (instead of the beginning). I have tried the tricks below and none seems to work.



    Sub InsertPic()'' BarCode_Writer Macro' Macro created 11/13/2001 by mitikavumam''ActiveDocument.Select Const iTitle = "Open to End" Dim fName as string Dim lngRetVal as Long With Application.Dialogs(wdDialogFileOpen) lngRetVal = .Display fName = .Name End With If lngRetVal <> -1 then MsgBox prompt:="Operation Canceled", Title:=iTitle Exit Sub End If ' do not open the file 'Documents.Open FileName:=fName 'Selection.EndKey Unit:=wdStory MsgBox prompt:="document '" & fName & "' opened.", _ Title:=iTitle & " Complete" ' possibility 1 ' try the start of a document 'Select the top of the ddocument ActiveDocument.Bookmarks("\EndOfDoc").Select set oRange = _ ActiveDocument.Range(ActiveDocument.Bookmarks("\EndofDoc").Range.Start, _ End:=ActiveDocument.Bookmarks("\EndofDoc").Range.End) '(FileName:="C:\Program Files\Microsoft Office\Clipart\Popular\AGREE.WMF", 'ActiveDocument.Selection.Shapes.AddPicture(FileName:=fName, _ 'LinkToFile:=msoFalse, SaveWithDocument:=msoTrue, _ 'Left:=0, Top:=0, Width:=100, Height:=100).Select ActiveDocument.Shapes.AddPicture (fName) 'LinkToFile:=msoFalse, SaveWithDocument:=msoTrue, _ 'Left:=0, Top:=0, Width:=100, Height:=100).Select 'ExcelWorksheet1.ExcelWorksheet.Shapes.AddPicture( 'C:\MyBitmap.bmp', // filename 'msoFalse, // LinkToFile (true = make link to file, false = make copy of the file in document) 'msoCTrue, // SaveWithDocument (must be true if LinkToFile is false) '10, // Left '10, // Top '300, // Width '300); // Height End Sub


    :confused:
     
  2. slipe

    slipe

    Joined:
    Jun 27, 2000
    Messages:
    6,832
    Put it on the clipboard and paste it to the bottom of a Word document – I do it all the time. Make sure you hit “Enter” twice before pasting and it will go below your test. You can then move or resize the image as you please.
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Similar Threads - picture bottom page
  1. Maryx8815
    Replies:
    1
    Views:
    381
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/60066

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice