Mr. Autumn,
That is possible. Personally I don't like VBA code to delete things from my
workbooks. I would prefer a solution that changes the value of a certain
variable, so that the form won't show up anymore. You will need to check for
the value of the variable on every form-call, but at least it won't do
anything to your spreadsheet that cannot be reversed...
You could place the value for the variable in a cell somewhere (maybe on a
hidden sheet) or you could create a fictive range name with the value. Or
you could have a click on the button have VBA add a line of code to your
macro... I hope you know how to do the first two solutions. If you prefer to
use the third one, or you really want to have the form deleted, please let
me know. If you haven't got a clue of what I'm talking about, please let me
know and I'll explain...
Kind regards,
Marcel Kreijne
Quandan - Steunpunt voor spreadsheetgebruikers
(Quandan - dutch supportsite for spreadsheetusers)
www.quandan.nl