Change object displayed based on cell value

skpper

New Member
Joined
Dec 7, 2020
Messages
12
Office Version
  1. 2010
Platform
  1. Windows
I have a list of countries in my Excel tool and each of them has their own PDF file content.

I have embedded these PDFs as objects into the Excel tool, so that users of the Excel tool can open up the PDFs within the Excel file.

In the dashboard, users can select a country from a dropdown list and I would like the corresponding PDF object to show up (i.e., the PDF files are not be displayed together, but only based on cell value).

This link has the solution for pictures/images:

I've tried taking the same approach for the objects, but it does not work. I'm wondering if anyone has an equivalent solution for Excel objects.

Backend:
Countries
PDF
Australia[Embed object displayed as an icon for Australia]
Brazil[Embed object displayed as an icon for Brazil]
China[Embed object displayed as an icon for China]


Much thanks.
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Illustration in images:
1651659644965.png

1651659676038.png
 
Upvote 0

Forum statistics

Threads
1,215,575
Messages
6,125,629
Members
449,241
Latest member
NoniJ

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