Extract Text from an Embedded Object

howard

Well-known Member
Joined
Jun 26, 2006
Messages
6,563
Office Version
  1. 2021
Platform
  1. Windows
I have an embedded object which stretches from D2:D5

The embddded object appears as

Code:
=EMBED("Acrobat Document","")

The name of the PDF Documents that is embedded is

BR1 MT 9871425897009-confirmation.pdf


I would like to extract the numeric number from the file name. Is there an Excel Add in that will allow me to do this or VBA Code to be used in conjunction with a UDF that will allow me to do this ?

I need to extract the number from the embedded object, which is 9871425897009

It would be appreciated if someone could provide me with the Add-on if available or VBA function to extract the text
 
Last edited:

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
I have attached a link below of sample data. I have manually extracted the text being the name of the file in WE to show what I need to etract

It would be appreciated if someone could kindly assist me in writing code or advising if there is an add in to do this

 
Upvote 0
I have also posted on link below

 
Upvote 0

Forum statistics

Threads
1,215,156
Messages
6,123,338
Members
449,098
Latest member
thnirmitha

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