Solved

Setting a link to a picture stored in ms excel - macro

Posted on 2013-01-18
4
146 Views
Last Modified: 2013-02-07
Hi

I have an excel file that has ~1000 pictures stored in it, along with associated data.   I would like to create a picture file that allows the pictures to be stored outside of the excel file, and outside of my computer (cloud or internet picture handling service like dropbox?) and still available for viewing in the excel workbook file as well as a CSV format excel file....   Some pictures have a link to a web page already available and most do not.   I have a dropbox storage account, and would prefer that the pictures be stored using that service.

Most pictures need to be re-sized as well.

Not every row has a picture.

All pictures are in one column in the spreadsheet.

I use Microsoft Office Picture Manager to edit my pictures, and I'm willing to use another if needed.

The order of events for a macro looks like this to me...
1) Resize the picture and file it in a known location, or file it in a known location and re-size it...
2) save the file location in the column next to the picture
3) delete the actual picture from the spreadsheet location


Is this do-able in excel?

Tom

PS:  I am attaching a file for your
test-file-for-experts-exchange-J.xlsx
0
Comment
Question by:tomwaddell
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 10

Expert Comment

by:broro183
ID: 38797974
hi,

I'm sure something can be worked out in Excel, but I may be wrong...

Before I start playing around can you please explain how you want the files resized (eg size in kb or a set height by width)?

Rob
0
 

Author Comment

by:tomwaddell
ID: 38799022
I was going to resize the files manually, assuming the height by width will stay the same as they get copied.  The height by width of the pictures is not the same for each / all.
0
 
LVL 10

Accepted Solution

by:
broro183 earned 500 total points
ID: 38821049
hi Tom,

Sorry for the very slow response, I thought I had posted this days ago, but it can't have flowed through.

The code in the attached file was originally developed by Bob Phillips & was sourced from:
http://www.officearticles.com/downloads/xlddownloader.zip
after being found via Anne Troy's post:
http://www.excelforum.com/showthread.php?t=388190&p=1035703&viewfull=1#post1035703
 I've made a few changes to work with the layout from your example file.

hth
Rob
xlddownloader-v2.xlsb
0
 
LVL 10

Expert Comment

by:broro183
ID: 38863058
hi Tom,

I'm pleased I could help - thanks for the points :-)

Rob
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Convert between Excel file formats (.XLS, .XLSX, .XLSM) with/without macro option David Miller (dlmille) Intro Over this past Fall, I've had the opportunity to see several similar requests and have developed a couple related solutions associate…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa‚Ķ

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question