+ Reply to Thread
Results 1 to 3 of 3

How do I programmatically get access to a picture or graphic?

  1. #1
    Stumpiana
    Guest

    How do I programmatically get access to a picture or graphic?

    When automating Excel, is there a way to programmatically get access to a
    picture without knowing if the file even contains a picture? My problem is
    that pictures in an Excel file grab the focus when the file is opened and
    mouse-clicks anywhere on the Excel window are lost.

  2. #2
    Vic Eldridge
    Guest

    RE: How do I programmatically get access to a picture or graphic?

    > pictures in an Excel file grab the focus when the file is opened

    No they don't. Something else is causing your problem.

    Regards,
    Vic Eldridge



    "Stumpiana" wrote:

    > When automating Excel, is there a way to programmatically get access to a
    > picture without knowing if the file even contains a picture? My problem is
    > that pictures in an Excel file grab the focus when the file is opened and
    > mouse-clicks anywhere on the Excel window are lost.


  3. #3
    Jon Peltier
    Guest

    Re: How do I programmatically get access to a picture or graphic?

    To counteract the problem, try this:

    ActiveSheet.Range("A1").Select

    - Jon
    -------
    Jon Peltier, Microsoft Excel MVP
    Peltier Technical Services
    Tutorials and Custom Solutions
    http://PeltierTech.com/
    _______


    "Stumpiana" <[email protected]> wrote in message
    news:[email protected]...
    > When automating Excel, is there a way to programmatically get access to a
    > picture without knowing if the file even contains a picture? My problem
    > is
    > that pictures in an Excel file grab the focus when the file is opened and
    > mouse-clicks anywhere on the Excel window are lost.




+ 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