Text Functions on Cell Formula

Alkemist

Board Regular
Joined
Nov 26, 2003
Messages
144
Hia...

Quick question...I have some cells that contain links to other workbooks.

I'd like to extract some information about the link, ie, use mid, left, right, len etc...

I know how to use this with cells that contain text, is there a way to use them with cells that contain formula's?

Cheers...A
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Code:
strFormula = ActiveCell.Formula

This will extract the formula of a cell to a string. Then you can parse it from there. Does that help?
 
Upvote 0
Thanks mate and sorry for the delay in picking this up!

That would give me a work around which I suspect is the way I'll need to go.

I was wondering if there were any functions within XL that could do this without having to go to VB.

Cheers..A
 
Upvote 0
Sorry for the misunderstanding. I'm afraid I don't know the answer to that as I spend most of the time in VBA. You'll probably want to repost your message with the XL caveat.

Best Wishes,
reneuend
 
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,282
Members
452,902
Latest member
Knuddeluff

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