Unusual help request
This is an unusual request for help and I hope it will not put you off.
I have an excel work book which contains many VBA modules developed over the years. Two persons, on their own PC have been running it without any problems until now. We are on a network and both of these people are in the same team with access to same folders, belonging to the same program.
We now want another person in a different program to use the excel workbook. We have a shared folder on the network where I have placed the workbook and changed the paths in various modules they are where all people have access to. The first set of 2 people can open the workbook and run the macros without any problems. The other person cannot. As soon as the file is open, there is a VBA error showing up. The VBA code is OK because it works for other two people.
So, I want to start with the simplest of tasks to track down what is teh problem, without giving you loads of VBA codes to look at. I am not very good, and all the codes have been build up by me in teh past either getting help from IT forums like this or googling the web and reading about it. The point is, it may not be the best or the cleanest of codes, but it works; at least for me and my colleagues.
So teh question is:
What are the main important points to watch out for when designing an excel application with many modules that is to be accessible and runable by several people on a network, with access rights to all the relevant folders on a shared drive?
I think this may be where the problem is and not in the code.
Anyone with ideas so I can check their theories would be a life saver.
Thanks everyone for sticking with the long preamble so far.
It is definately not the code.
I suspect it might be a permission problem.
Try this: Create a brand new excel workbook. Add a button to Sheet one and in the click event put a message box that says "Hello" (or something, anything actually)
Put that new spreadsheet in the same network folder as the one where you have your production app. Contact the new guy, ask him to open the new spreadsheet and click on the button.
Does he get an error or does he get the message box?
Speaking of errors....what errors does he get (specifically) when he tries to run the VBA code from your production app?
I don't answer coding questions via PM or Email. Please post a thread in the appropriate forum section.
Please use [Code]your code goes in here[/Code] tags when posting code.
Before posting your question, did you look here
Got a question on Linux? Visit our Linux sister site.
Modifications Required For VB6 Apps To Work On Vista
By asviap in forum ASP.NET
Last Post: 11-05-2010, 09:01 AM
Last Post: 07-19-2005, 09:55 AM
Last Post: 05-26-2005, 05:10 AM
By Michael Welch in forum .NET
Last Post: 02-26-2002, 11:17 AM
By John Wood in forum Architecture and Design
Last Post: 07-02-2001, 07:24 PM
Tags for this Thread
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center