I have a subroutine that works the way I want but I also want to tie it to a button with a message, "Are you sure you want to..."
Is there is a way to tell if the program is called from another routine or from the button click.
Is there is a way to tell if the program is called from another routine or from the button click.