Quantcast
Channel: PTC Community : Discussion List - PTC Mathcad
Viewing all articles
Browse latest Browse all 2936

Insert > Reference using a Variable

$
0
0

Hi!

 

I would like to ask if it is possible or if there is any workaround to passing a file path to a variable then using this variable for the Insert > Reference feature?

 

For example, my file is located at "C:\sample.xmcd".

 

I would like to assign it to a variable that:

 

FilePath:="C:\sample.xmcd"

 

Then use this file path for Insert > Reference > Insert Reference to File in another worksheet.

 

This is because I have some user-defined functions defined in sample.xmcd that I would like to call in another worksheet.

 

If this is not possible, is there any other way to reference user-defined functions?

 

Please note that hiding the functions in the worksheet is not an option. So is defining those user-defined functions in the same worksheet.

 

Thanks and best regards!


Viewing all articles
Browse latest Browse all 2936

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>