Hyperlink

MetLife

Active Member
Joined
Jul 2, 2012
Messages
334
Office Version
  1. 365
Hi,

I want to create a hyperlink in cell "A1" to a text file.

My question is how can I embed the text file with the excel document. I don't want to worry about losing the text file. I want the documents all in a single location which is more convenient for me. I'm not concerned with the file size.

Thanks
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
It seems I can embed a file by choosing:

Insert-> object -> create from file

It looks like the icon has the equation "=EMBED("Packager Shell Object","")"
 
Upvote 0
That's correct. It's then given the name 'Object 1'

If you then want to open the file from a link on a worksheet follow the instructions in the post.
You basically embed the object in one sheet and add the worksheet code in that link I posted to the same worksheet.

You then create a link in another worksheet to the sheet with the embedded file. The sheet is activated, the macro runs and opens the text file
 
Last edited:
Upvote 0
OK thanks for the links.

Do you know if there is anyway to embed the object (in this case a text file) in a picture in the excel workbook?
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,185
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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