+ Reply to Thread
Results 1 to 4 of 4

Photos stored in worksheet

Hybrid View

Giant Randy Photos stored in worksheet 03-08-2012, 09:59 AM
Giant Randy Re: Photos stored in worksheet 03-09-2012, 07:25 AM
tkowal Re: Photos stored in worksheet 03-09-2012, 05:28 PM
Giant Randy Re: Photos stored in worksheet 03-12-2012, 08:44 AM
  1. #1
    Registered User
    Join Date
    03-07-2012
    Location
    Poland
    MS-Off Ver
    Excel 2010
    Posts
    3

    Photos stored in worksheet

    Hi Everybody

    I have a problem with macro and hope you can help me

    I created macro which extracts data from worksheet, copy it to new file and adds photo. Everything works great besides those photos which don't display when new file is opened on different computer (client, colleagues)

    is there any way to save photo in the file so it appears on other computers?

    this is how i insert photo:

    Range("O12").Select
               ActiveSheet.Pictures.Insert( _
             "C:\podpis.jpg").Select
               Selection.ShapeRange.ScaleHeight 0.5, msoFalse, msoScaleFromTopLeft
    any help would be great

  2. #2
    Registered User
    Join Date
    03-07-2012
    Location
    Poland
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Photos stored in worksheet

    anybody? please help me

  3. #3
    Forum Contributor tkowal's Avatar
    Join Date
    11-20-2010
    Location
    Miami, Fl
    MS-Off Ver
    Excel 2010
    Posts
    150

    Re: Photos stored in worksheet

    Does "C:\podpis.jpg" exist on your other computer???

    I would suggest moving the pictures to a shared drive on your network that all the computers can access, then change your code to pull the pictures from there.

     ... .Pictures.Insert("\\server\share\directory\podpis.jpg").Select
    I do not believe your code physically embedds the photo into a worksheet only pulls one into the shape.

  4. #4
    Registered User
    Join Date
    03-07-2012
    Location
    Poland
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Photos stored in worksheet

    I have a worksheet without macro and with photo which appears on every computer where i send it

    I know that if i place jpg on a share drive it would work but only inside my company and what about outside? To be honest this is only needed for external use.

    Is there any way to insert photo which will appear on completely different computer which has no access to my or shared drive?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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