PDNY

New Member
Joined
Jul 26, 2012
Messages
15
Setup:
OS: WinXP with latest service pack
XL: 2010 version
IE: v8.0.6

Problem:

I have a spreadsheet that I need to insert nations' flags into individual cells.

I would like to do this using URLs for each nation in cells adjacent to where the flags will be. The URLs are of certain websites. Some sites are unsecured and some secured (i.e. "https://*"), though this may not matter.

I have tried using the HYPERLINK function, for example:
=HYPERLINK("http://upload.wikimedia.org/wikipedia/commons/thumb/5/5c/Flag_of_Greece.svg/150px-Flag_of_Greece.svg.png","gr")

This results in a hyperlink of the URL with "gr" displayed. Removing the "friendly name", i.e. "gr", results in displaying the full URL.

In either case, the image does not display.

Questions:

A few forum posts claim to have resolved this issue without VBA and using the HYPERLINK function:

http://www.mrexcel.com/forum/excel-questions/40828-inserting-images-excel-just-wondering.html

http://www.mrexcel.com/forum/excel-questions/524361-dynamic-hyperlink.html

Q1) Can this hyperlink-referenced displayed image task be resolved using just the HYPERLINK function?

Q2) If so, does XL2010 requires specific security settings, on Excel or IE, to do so?

Q3) If we absolutely MUST use VBA, are there any suggested solutions?

NB, there are over 200 countries used in the spreadsheet and their rankings are reordered often so inserting them one-by-one using dropdown menus is not an option and prone to errors.

Many thanks in advance for any advice.
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

Forum statistics

Threads
1,214,967
Messages
6,122,503
Members
449,090
Latest member
RandomExceller01

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top