+ Reply to Thread
Results 1 to 14 of 14

Save Image from open Windows Photo Viewer

  1. #1
    Forum Contributor Bob@Sun's Avatar
    Join Date
    09-03-2009
    Location
    Montuak, Usa
    MS-Off Ver
    Excel 2007
    Posts
    438

    Save Image from open Windows Photo Viewer

    Hi all,
    I have the following issue - I have programed excel to open a document from SAP which is displaied in Windows Photo Viewer. I need to save the opened image on the local drive. Any ideas - I could not find anything on the net
    Thanks

  2. #2
    Forum Contributor Bob@Sun's Avatar
    Join Date
    09-03-2009
    Location
    Montuak, Usa
    MS-Off Ver
    Excel 2007
    Posts
    438

    Re: Save Image from open Windows Photo Viewer

    I tried to look at the temp folder where the image is saved automatically but I think access persmissions are not allowing me to copy the file from there and paste it somewhere else - any other ideas?

  3. #3
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Save Image from open Windows Photo Viewer

    Why is the document displayed as a picture? Whats the file extension?

  4. #4
    Forum Contributor Bob@Sun's Avatar
    Join Date
    09-03-2009
    Location
    Montuak, Usa
    MS-Off Ver
    Excel 2007
    Posts
    438

    Re: Save Image from open Windows Photo Viewer

    it is in deed picture...scanned document, tif file

  5. #5
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Save Image from open Windows Photo Viewer

    Is the original saved as an attachment to a SAPDoc or iDoc?

  6. #6
    Forum Contributor Bob@Sun's Avatar
    Join Date
    09-03-2009
    Location
    Montuak, Usa
    MS-Off Ver
    Excel 2007
    Posts
    438

    Re: Save Image from open Windows Photo Viewer

    Could not understnad this question - what is iDoc?

  7. #7
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Save Image from open Windows Photo Viewer

    Is this quality information or maybe a packing slip or such attached to an SAP document like a Purchase order?

    The reason I ask: a lot of 'attachments' in SAP are set up differently and it effects the way they are printed.

    Edit:

    If the setup will allow the easiest way would be to go to file=>make a copy

  8. #8
    Forum Contributor Bob@Sun's Avatar
    Join Date
    09-03-2009
    Location
    Montuak, Usa
    MS-Off Ver
    Excel 2007
    Posts
    438

    Re: Save Image from open Windows Photo Viewer

    it is a .tif file (scanned paper invoice) which you cannot save directly from SAP. The only think that you can do is to open it and then save through the Windows Phtoto Viewer

  9. #9
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Save Image from open Windows Photo Viewer

    Windows Photo Viewer doesn't have a 'save' command verbatim. Its called 'make a copy' but it does essentially the same thing.

    I'm unsure what the problem is? You're just trying to automate this step?

  10. #10
    Forum Contributor Bob@Sun's Avatar
    Join Date
    09-03-2009
    Location
    Montuak, Usa
    MS-Off Ver
    Excel 2007
    Posts
    438

    Re: Save Image from open Windows Photo Viewer

    Exactly, I need to automate the "make a copy" fucntion and save this image on the local dirve. Any ideas?

  11. #11
    Forum Contributor Bob@Sun's Avatar
    Join Date
    09-03-2009
    Location
    Montuak, Usa
    MS-Off Ver
    Excel 2007
    Posts
    438

    Re: Save Image from open Windows Photo Viewer

    the aim is to open one by one numerous attachments and save them locally, I have the code for opening the documents but than I cannot do the saving part

  12. #12
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Save Image from open Windows Photo Viewer

    Can you post your workbook? I will try to make amendments.

  13. #13
    Forum Contributor Bob@Sun's Avatar
    Join Date
    09-03-2009
    Location
    Montuak, Usa
    MS-Off Ver
    Excel 2007
    Posts
    438

    Re: Save Image from open Windows Photo Viewer

    can you open whatever image in Windows Photo Viewer and try to save it to a new destination on the local drive? If I have this I can just added to the code that works with SAP
    Many thanks for the help!

  14. #14
    Forum Expert Solus Rankin's Avatar
    Join Date
    05-24-2013
    Location
    Hollywood, CA
    MS-Off Ver
    Win7 Office 2010 VS Express 2012
    Posts
    2,655

    Re: Save Image from open Windows Photo Viewer

    If I understand what you're trying to say I don't think that will work. I need to know about the way your current code 'opens' the picture.

+ 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