4461766964,
CancelButton is a property, so you cannot use it as a name in your function. Simply stay with your first post BUT use any other name ....
Hope it helpsCode:Sub MyCancelButton() ...
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 7 of 7
Threaded View
|
Click Here to Expand Forum to Full Width |