Hi Guys,
How can I toggle this macro on a button click?
Thanks in advance![]()
Please Login or Register to view this content.
Hi Guys,
How can I toggle this macro on a button click?
Thanks in advance![]()
Please Login or Register to view this content.
Toggle it to do what?
Hi Baziwan;
I don't know anything about ListObjects. I'm going to try and learn about them.
But something like this should do what you want.
I would really like to see the finished macro, so when you have fixed mine, please post it back here.![]()
Please Login or Register to view this content.
Why not do it all at once?
Add a button from the Controls ToolBox then use this code
![]()
Please Login or Register to view this content.
Hope that helps.
RoyUK
--------
For Excel Tips & Solutions, free examples and tutorials why not check out my web site
Free DataBaseForm example
Hi Roy;
I really like your idea of changing the caption on the Button.
What's the purpose of this line?
I'm using XL2002, so I don't have ListObjects, but I'd like to know why you hide it.![]()
Please Login or Register to view this content.
That line switches off the List Toolbar, it's not essential.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks