Results 1 to 7 of 7
  1. #1
    cfspartan is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2013
    Posts
    3

    Macro Single Step Error

    I'm attempting to use the cumbersome and obnoxious UPS Billing Analysis Tool v 2.07.2012 and every time I attempt to open it, I get an error:

    Macro Name: AutoExec
    Action Name: RunCode
    Error Number: 7960
    Arguments: IIf (CheckStartUpItems (), CheckRegistration (), CloseMe () )



    I have to Stop All Macros in order to continue, which renders the tool inert.

    Anyone have any idea what to do?

    I've tried searching for the argument string in the project, but can't find it. I'm even having a hard time finding the "RunCode" action in seaching the Project inside Visual Basic editor. Sadly, I am forced to use this awfully designed mess, so any help would be immensely appreciated!

  2. #2
    rzw0wr is offline I will always be a newbie
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Indiana
    Posts
    479
    7960 There was an error compiling this function.@The Visual Basic module contains a syntax error.@Check the code, and then recompile it.

    Instructions also suggested to compact/repair db.

    Dale

  3. #3
    cfspartan is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2013
    Posts
    3
    Quote Originally Posted by rzw0wr View Post
    7960 There was an error compiling this function.@The Visual Basic module contains a syntax error.@Check the code, and then recompile it.

    Instructions also suggested to compact/repair db.

    Dale
    I've tried searching the code for the function string to no avail. I can't even find the Module. Could they have shut editing off of these features?
    Last edited by cfspartan; 05-23-2013 at 11:33 AM. Reason: forgot a ? mark

  4. #4
    rzw0wr is offline I will always be a newbie
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Indiana
    Posts
    479
    Is the database an accdb format. Or accde.

    Sounds like a macro. This should appear under you nav screen at the bottom.
    Name should be Autoexec.

    Dale

  5. #5
    cfspartan is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    May 2013
    Posts
    3
    Thanks Dale. It's an MDB file. The home screen is blank with most things grayed out. The ribbon has Create, External Data, and Database Tools. In tools under VB, there are forms, reports, modules, and one class module however nowhere can I find Macros. I can choose to Run macros, but can't seem to find a place for editing them.

  6. #6
    rzw0wr is offline I will always be a newbie
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2013
    Location
    Indiana
    Posts
    479
    Did you write this database?
    Try pressing button F11 to see the nav. screen.

    Dale

  7. #7
    Mohanss82 is offline Advanced Beginner
    Windows 8 Access 2010 32bit
    Join Date
    Apr 2014
    Location
    India
    Posts
    44
    Hi. I am getting this error msg again. Please help.
    Click image for larger version. 

Name:	Compile Error 1.PNG 
Views:	21 
Size:	5.4 KB 
ID:	20449

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Queries is my next step?
    By JPP in forum Queries
    Replies: 16
    Last Post: 02-25-2013, 12:36 PM
  2. Replies: 2
    Last Post: 05-05-2012, 02:34 AM
  3. Compliling multi step query into single query.
    By dandoescode in forum Access
    Replies: 1
    Last Post: 12-17-2011, 02:21 PM
  4. step and step proccess
    By toochic in forum Programming
    Replies: 5
    Last Post: 10-09-2011, 09:34 AM
  5. Replies: 4
    Last Post: 04-29-2009, 04:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums