Evaluate string to formula with link to online documents.

Spanja

New Member
Joined
Oct 8, 2018
Messages
1
Dear Sirs,

I have one problem with evaluation function.

Online file nameLink made by CONCATENATE funcеion (string)
test1 00 123 3123.xlsm"='http://test.test.com/Manufacturing//[test1 00 123 3123.xlsm]Sheet1'!$B2"
test2 90 43 4.xlsm"='http://test.test.com/Manufacturing//[test2 90 43 4.xlsm]Sheet1'!$B2"
test 3 103 3123.xlsm"='http://test.test.com/Manufacturing//[test 3 103 3123.xlsm]Sheet1'!$B2"

<tbody>
</tbody>

I have a list with the name of the files. Next, using the CONCATENATE function, I create formulas to get value from B2 cell of Sheet1 (formuma is as string).
Then with Evaluate function (VBA code):
Function Eval(Ref As String)​
Application.Volatile​
Eval = Evaluate(Ref)​
End Function​
I tried to evaluate from string to formula, but with doesnt work with online file link.
When I save this files on hard drive, it`s work. If I drive this formula manually (with reference to the online document), everything works.

Any idea what is the reason? How to fix?
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.

Forum statistics

Threads
1,214,971
Messages
6,122,517
Members
449,088
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