Hi Adam,
Was my comment useful to you?
Thanks for your response in any respect.
BFN,
fp.
Main Topics
Browse All TopicsHi,
we've got a large .xl spreadsheet with alot of VBA behind it that is delivered to clients in a variety of locations running various concoctions of XP/2000/NT and office 2000,2002/2003, and to date it has been robust with clients sending copies of the .xl file to each other etc.
One of our clients reported an issue when he generated a copy of the .xl file on a Citrix network and then tried to send it to another client running a desktop office install. The 'missing reference' problem reared up and crashed the .xl sheet load. (I located it to RefEdit.dll). I think this is a latent problem that has gone unnoticed till now.
It seems as though the client cannot create copies of our .xl file on Citrix and then use them on a desktop install, and vice versa.
Has anyone come across similar problems when moving files from Citrix to desktop and vice-versa? I have no experience of Citrix. I think we could probably fix this at our end using late binding(?), but clients will not recieve this until the next annual rollout, and those running Citrix are in a very small minority.
Any help or ideas much appreciated!
Adam
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Hi fp,
thanks ever so much for your reply. I was waiting for the client to get back to me with some more details, but it they don't seem to be in any rush to get this sorted, thought they did confirm that files are copied within Explorer.
I've passed on the other suggestions regarding the .dll, so guess I'll have to wait and see what happens. I would award the points now given the speed with which I and the client are likely to get this sorted but might need to keep the question open. Do you mind?
- AjW
Business Accounts
Answer for Membership
by: fanpagesPosted on 2008-06-02 at 03:05:40ID: 21690704
Hi,
When you say your user created copies of the workbook, do you mean they simply used the standard Windows (Explorer) facilities to copy a file & rename it, or did they open the MS-Excel file & use the "Save As" menu (or button icon) item?
I am guessing the latter.
In this case, the platform on which the "Save As" is performed will bind to the libraries installed in that environment creating a reference to the local version of any ActiveX control objects, in this case, the "RefEdit" Control.
You could deploy any associated Dynamic Link Library (.DLL) files to the Citrix environment from your desktop installation(s), or you could look at not using that control & coding-up your own using a standard MS-Excel UserForm.
Alternatively, copy the DLL files from the Citrix environment to your desktop environment(s) so that you are developing using the "lowest common denominator" library files across all installations.
If you think copying .DLLs from one environment to another may impact other applications that use the same named library files, then maybe you could just copy the .DLL files that your MS-Excel workbook application relies upon to the folder where the workbook is located.
As long as there are no explicit references to these library files in Declare statements within your Visual Basic for Applications code inside the MS-Excel workbook, then the local folder will be searched prior to the PATH environment variable &/or the Windows, or Windows/System[32] folders to qualify the location of the expected .DLL file when the RefEdit control instance is created in the workbook.
If it helps, you could always set up a temporary folder with all the .DLLs (maybe even on a networked drive available to both Citrix & desktop environments) & amend the users PATH environment variable for the duration of the usage of the workbook to point to the temporary network folder in preference to all other folders already defined in the PATH variable.
This could be done by using a VBScript file that modifies the PATH & then invokes the MS-Excel workbook, or the MS-Excel Visual Basic for Applications code could modify the PATH programmatically during start-up ["Workbook_Open()" ThisWorkbook event code or "Auto_Open()" public subroutine].
As a another option, of course, you could insist that all file manipulation is performed on one platform or another; possibly even disabling the in-workbook menu/button commands by Visual Basic for Applications code if the Citrix environment is detected.
BFN,
fp.