+ Reply to Thread
Results 1 to 4 of 4

insert picture problem

  1. #1
    kidev
    Guest

    insert picture problem

    How can I insert the same picture into several worksheets:
    * without using the clipboard; and
    * without re-loading the same file repeatedly; and
    * re-sizing the picture to fit within a designated range.

    I am currently using the pictures collection on each
    sheet like this:
    Dim pic as excel.picture
    pic = activesheet.pictures.insert("pic.jpg")
    ' set pic.height and pic.width to resize
    This lets me resize it but I am not sure about the
    other two issues.


  2. #2
    Tom Ogilvy
    Guest

    RE: insert picture problem

    I think you would have to either copy it and paste or use your insert command
    and resize it.



    --
    Regards,
    Tom Ogilvy


    "kidev" wrote:

    > How can I insert the same picture into several worksheets:
    > * without using the clipboard; and
    > * without re-loading the same file repeatedly; and
    > * re-sizing the picture to fit within a designated range.
    >
    > I am currently using the pictures collection on each
    > sheet like this:
    > Dim pic as excel.picture
    > pic = activesheet.pictures.insert("pic.jpg")
    > ' set pic.height and pic.width to resize
    > This lets me resize it but I am not sure about the
    > other two issues.
    >


  3. #3
    kidev
    Guest

    RE: insert picture problem

    Does the insert command use the clipboard?

    "Tom Ogilvy" wrote:

    > I think you would have to either copy it and paste or use your insert command
    > and resize it.
    >
    >
    >
    > --
    > Regards,
    > Tom Ogilvy
    >
    >
    > "kidev" wrote:
    >
    > > How can I insert the same picture into several worksheets:
    > > * without using the clipboard; and
    > > * without re-loading the same file repeatedly; and
    > > * re-sizing the picture to fit within a designated range.
    > >
    > > I am currently using the pictures collection on each
    > > sheet like this:
    > > Dim pic as excel.picture
    > > pic = activesheet.pictures.insert("pic.jpg")
    > > ' set pic.height and pic.width to resize
    > > This lets me resize it but I am not sure about the
    > > other two issues.
    > >


  4. #4
    Tom Ogilvy
    Guest

    Re: insert picture problem

    No.

    --
    Regards,
    Tom Ogilvy

    "kidev" <kidev@newsgroups.nospam> wrote in message
    news:7F86EDE3-DA46-45E1-B187-62988CA1BF4D@microsoft.com...
    > Does the insert command use the clipboard?
    >
    > "Tom Ogilvy" wrote:
    >
    > > I think you would have to either copy it and paste or use your insert

    command
    > > and resize it.
    > >
    > >
    > >
    > > --
    > > Regards,
    > > Tom Ogilvy
    > >
    > >
    > > "kidev" wrote:
    > >
    > > > How can I insert the same picture into several worksheets:
    > > > * without using the clipboard; and
    > > > * without re-loading the same file repeatedly; and
    > > > * re-sizing the picture to fit within a designated range.
    > > >
    > > > I am currently using the pictures collection on each
    > > > sheet like this:
    > > > Dim pic as excel.picture
    > > > pic = activesheet.pictures.insert("pic.jpg")
    > > > ' set pic.height and pic.width to resize
    > > > This lets me resize it but I am not sure about the
    > > > other two issues.
    > > >




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1