Solved

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

Posted on 2013-01-18
4
147 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

738 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