Results 1 to 3 of 3

Thread: [RESOLVED] Not showing warnings

  1. #1

    Thread Starter
    PowerPoster kfcSmitty's Avatar
    Join Date
    May 2005
    Posts
    2,248

    Resolved [RESOLVED] Not showing warnings

    Man im dumb, I forgot it goes back to the button when it closes, and it had an err.description there Sorry

    I tried doing a search, but alas, I came up empty handed.


    Probably a simple question but here it goes anyways

    I am using VBA and I want to prompt before the form closes. If the user selects cancel, it doesnt close, otherwise, it does. I have this working, but the problem is, whenever the user clicks cancel a messagebox pops up and displays "The Close action has been canceled"

    Any ideas how to stop this from displaying?

  2. #2
    Fanatic Member dannymking's Avatar
    Join Date
    Jul 2005
    Location
    Darlington, North East UK
    Posts
    677

    Re: [RESOLVED] Not showing warnings

    KFC ( )

    Please post the code that you are using.. It sounds as though you are capturing the cancel button in the wrong method..
    Danny

    Never Think Impossible

    If you find my answer helpful then please add to my reputation

  3. #3

    Thread Starter
    PowerPoster kfcSmitty's Avatar
    Join Date
    May 2005
    Posts
    2,248

    Re: [RESOLVED] Not showing warnings

    Heh I figured this was gonna get moved Although the answer is relevant to VB6 as well

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width