Hi All
File attached to show problem
How do I select all the sheets that are Marked Y in column B when the button is clicked?
Thanks
Roasty
Hi All
File attached to show problem
How do I select all the sheets that are Marked Y in column B when the button is clicked?
Thanks
Roasty
Last edited by roasty_1; 10-24-2008 at 09:13 AM.
Hi roasty_1,
I have attached a workbook and i have coded the button to check each one and then add that worksheet to a array of worksheets.
to access the worksheet you can use this code
change the 1 to the index you need and the Select the method you want to call.![]()
shts(1).Select
anything else let me know![]()
There are only 10 types of people in the world:
Those who understand binary, and those who don't!
thanks
sorry but the button does not do anything.....
no sheets are selected when the code has run?
thanks
oh right sorry i have loaded them into a array so you can access them sheets, sorry i didnt realise that you wanted them selected. i will have a look to see if i can work that one out
ok
cheers
sorry roasty_1, i cant seem to get it to work no matter what i try.
does anybody else know how to do this as i am now interested.
I'm confused where is the macro, VBA for the select sheets, its that the one for the sheet downloaded above?
I cannot get this to work, errored out on last line of code, Sheets(mySheets).Select?
miztify,
Unfortunately you need to post your question in a new thread, it's against the forum rules to post a question in the thread of another user. If you create your own thread, any advice will be tailored to your situation so you should include a description of what you've done and are trying to do. Also, if you feel that this thread is particularly relevant to what you are trying to do, you can surely include a link to it in your new thread.
If I have helped, Don't forget to add to my reputation (click on the star below the post)
Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
Use code tags when posting your VBA code: [code] Your code here [/code]
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks