Results 1 to 15 of 15

Thread: Pop up messages when many programs are executed in VBA PowerPoint

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    is it possible to do something like:

    Function Apple() As Variant
        --code--
        'If code runs well then it is successful. if error comes it is " failed". 
        If code = successful Then
            Apple = True
        Else
            Apple = False ' when error occurred anywhere in the code
        End If
    End Function
    what if the code doesn't have IF condition to compare anything with. Here the comparison is whole code executed. Not sure if this practical. Any insights which can guide me.
    Last edited by Aussiebear; 11-24-2024 at 02:06 AM.

Posting Permissions

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