DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Unusual help request

  1. #1
    Join Date
    Aug 2009

    Unusual help request

    Hi all,

    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.


  2. #2
    Join Date
    Apr 2007
    Sterling Heights, Michigan
    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?

Similar Threads

  1. Replies: 0
    Last Post: 11-05-2010, 08:01 AM
  2. Handling XMLHttp request in JSP
    By jijesh in forum Java
    Replies: 0
    Last Post: 07-19-2005, 08:55 AM
  3. Xindice query
    By nonolap in forum XML
    Replies: 0
    Last Post: 05-26-2005, 04:10 AM
  4. Replies: 0
    Last Post: 02-26-2002, 11:17 AM
  5. ui for service request tracking system - ideas
    By John Wood in forum Architecture and Design
    Replies: 1
    Last Post: 07-02-2001, 06:24 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center