User Profile

Collapse

Profile Sidebar

Collapse
zerox39
zerox39
Last Activity: Nov 19 '13, 05:08 PM
Joined: Feb 19 '13
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • This sorted it out.

    Thanks so much
    See more | Go to post

    Leave a comment:


  • Yes it is a control.
    When i remove the "Dim Rebatelog As Integer" i get variable not defined.
    See more | Go to post

    Leave a comment:


  • Invalid qualifier after adding "option explicit"

    I have a text box on a form that requires you put a number in, if the number is too short a msg box pops up telling you to fix it.
    I have not been declaring variables so far and the code has worked.
    Now that i learned i should declare it i went back and added the "option explicit" to my vba.
    I'm now getting the error "invalid qualifier" when compiling on this form.

    Code:
    Option Compare Database
    ...
    See more | Go to post

  • zerox39
    replied to Prevent "Action Failed" Dialog box
    Thanks ZMBD!
    Worked perfect. You could tell I was new at this.
    I now see the difference of changing a button from a macro to VBA code.

    Thanks so much
    See more | Go to post

    Leave a comment:


  • zerox39
    replied to Prevent "Action Failed" Dialog box
    Hey NeoPa, I do not think the error box is a code error, I understand that this is a standard function of the software when a button or regular macro is interrupted. I'm more hoping that it can be suppressed.
    Thanks
    See more | Go to post

    Leave a comment:


  • zerox39
    replied to Prevent "Action Failed" Dialog box
    Hi Rabbit. This code is being run by a button on my form.
    I am using access 2007, but I do have the database in trusted location along with being in "enabled mode".
    See more | Go to post

    Leave a comment:


  • zerox39
    replied to Prevent "Action Failed" Dialog box
    Thanks zmbd.

    I tried this and i still got the box when "No" is selected.
    [IMGnothumb]http://i47.tinypic.com/1y7sbt.jpg[/IMGnothumb]

    [Z{MOD- Text from image for those that can't see it}

    ]

    I tried this with 2 variations of the code. the first using the exact wording "then exit function" and the second "then exit sub" on line 4

    Code:
    Sub
    ...
    See more | Go to post
    Last edited by zmbd; Feb 20 '13, 06:25 AM. Reason: [z{fixed image to show}{added-error in text]

    Leave a comment:


  • zerox39
    started a topic Prevent "Action Failed" Dialog box

    Prevent "Action Failed" Dialog box

    Hi.


    I have a converted macro which asks the user a vbayesno.
    The code works perfect when "Yes" is selected, but when you select "No" it shows the "action failed" dialog box.
    How can i prevent the dialog box from opening?

    Here's my macro code
    Code:
    Function Control_Panel_Send_Submission_Confirmations()
    On Error GoTo Control_Panel_Send_Submission_Confirmations_Err
    ...
    See more | Go to post
No activity results to display
Show More
Working...