I found this code here , and its great one
now how to add double click on the sheet in the list box and open this sheet ???![]()
Please Login or Register to view this content.
any Idea's ??
or is it possible ?
I found this code here , and its great one
now how to add double click on the sheet in the list box and open this sheet ???![]()
Please Login or Register to view this content.
any Idea's ??
or is it possible ?
![]()
Please Login or Register to view this content.
Last edited by AndyLitch; 05-08-2013 at 10:07 AM.
Elegant Simplicity............. Not Always
Try this.
![]()
Please Login or Register to view this content.
If posting code please use code tags, see here.
Norie,
Thank you so much ..
I tried your code it gave me Tun Time error '1004': method 'Goto' of object '_Application Failed'
AndyLitch,
Thank you too for your reply , but the code didn't do anything ..
any suggestions ?
Can you upload an example workbook?
Click on GO ADVANCED and use the paperclip icon to open the upload window.
View Pic
this is a demo for the code
test55.xlsm
You've called the userform WorkSheets, why?
Worksheets is an object in VBA, it represents a collection of the worksheets in the workbook.
Try changing the form name to something else, eg frmWorksheets.
I name it now frmWorksheets
same error
That's really weird because I did exactly that and I don't get any errors.
lol, seems something wrong with my excel version
Strange ...
I even restart my machine .. still the same error
thank you for your help and support Norie
Can you upload the updated workbook?
I know where is the problem !!!
its coz I am HIDING my sheets ....
but I need them to be hidden
test55.xlsm
2 options.
1 Don't add hidden sheets to the listbox.
2 Don't try and goto hidden sheets.
First option is probably best.
![]()
Please Login or Register to view this content.
I solve it by making a login form with all sheets to come Visible when login pass
and all sheets to be hidden when logout from the workbook
I guess it will solve this problem
Thank you for your big SUPPORT Norie
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks