ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Can't deploy my .xls to other PCs... (https://www.excelbanter.com/excel-programming/273265-re-cant-deploy-my-xls-other-pcs.html)

Matthew Connor

Can't deploy my .xls to other PCs...
 
faustino Dina wrote:
Hi,

I have a data.xls document that uses functions defined in a library.xla.
There is also a config.xls document that initializes the library.xla. I
pretend to load the config.xls when the data.xls document is loaded, so I
put it on the XLStart folder on my PC. The library.xla is on the AddIns
folder of the Office in Program Files... It works OK in my windows 2000 PC,
but when I try to open data.xls on a windows 98 PC all the references all
wrong 'cause they all are tied to the absolute paths of my PC. Then I can't
deploy the data.xls 'cause it is machine-dependent. How can I turn the
references between documents into relative ones...., or what else can I do
to make my data.xls machine-independent?

Thanks in advance
Faustino


Application.StartupPath (returns path to XLSTART)
Application.Path (returns path to Program Files directory)

maybe just what you are looking for.

Hope this helps,

Matthew



All times are GMT +1. The time now is 06:44 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com