• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Unable to run Grouping/Outline VBA in password protected sheet

Hi,

I am not able to run the Grouping/Outline VBA in password protected excel sheet.

In the attached file, every sheets and the workbook is password protected due to restricted access. Due to large volume of data. I grouped many cells with header, but the grouping VBA is not working in password protected sheet. And also whenever I open the workbook, everytime its prompt for password.

I also tried some codes in "This Workbook" module to auto-run while open...

Could anyone fix this issue...
Hope you understand the problem..

Please refer the attached file......

password for VBA : amrinlove
password to Unprotect Sheets : amrinlove
password to Unprotect Workbook : amrinlove

Thanks in advance.
Regards,
Mehmud
 

Attachments

  • Staff Tracker File.xlsm
    614 KB · Views: 6
Thanks a lot Vletm for your interest...

But I didn't understand your first point.

And the project password is amrinlove only !
please try once again...
 
Mehmud Khan
Have You used/tried that file Yourself?

There is UNROTECT SHEET...
Of course if press eight times 'Cancel' can pass those ... hmm?
Screen Shot 2018-03-05 at 15.11.32.png

I tried much more than one time and always ...
Screen Shot 2018-03-05 at 15.12.59.png
 
Hi Vletm,
So sorry for inconvenience !

Now I removed all the protection from attached sheet.
Now you can work on that, but first you must protect the all sheets and workbook as well.

Question :
Unable to Grouping/Outline in password protected sheet and workbook.

Solution needed :
User can able to Grouping/Outline in password protected sheet.

Note:

1.Why need to protect Sheet;

The user must not authorized to access all the cells, hence I protected the sheets, which results restricted access as per need.

2. Why need to protect workbook;
Because the user will not be able to rename and delete the sheets in workbook.


Please refer the attached file, and if do you have any question then please let me know....
Expecting for best solution.... :)

thanks a lot in advance.
Regards,
Mehmud
 

Attachments

  • Staff Tracker File Unprotected.xlsm
    607.7 KB · Views: 1
Mehmud Khan
Note0: There were still two 'Unrotect Sheet'-questions ... Cancel works!
Your notes: Every opening You would check sheet names and DELETE unwanted sheets ... soon users would learn what to do!
... of course automatic backup would be needed!
Note1: You were near ... but Your tasks should be different order.
Note2: Maybe there are some formulas
... which opening would be calculation as Manual.

You wrote: Expecting for best solution.... :) ... hmm?
That would be a challenge!
Many things can do better!
 

Attachments

  • Staff Tracker File Unprotected.xlsm
    613.6 KB · Views: 4
Hey Vletm,

Thank a lot for your help...

Now I able to use Grouping/Outline in password protected sheet as well...

once again thanks buddy.... :)

But Please don't close this conversation because I still need few more changes in that file, I'll let you know ;-)

Regards,
Mehmud
 
Hello, once again Vletm,

till now everything was good... You really help me out with everything...
Could you please do one more thing for me?

This time I need your help in Pivot Table.. :)
In the attached file, there are 3 sheets for three staffs, I also added a new sheet named - Monthly Report.

Can you please create a pivot table on Monthly Report sheet, where I can see the % of Utilization of every staff.

In the table, you must include 3 main heading -

1. Name of Employee:
Sheet name will be employee name source.

2. Date:
In every sheet, there is an Action Date column (in A Column). Please refer that source as column list in the pivot table.

3. % of Utilization:
In every sheet, there is a Utilization column (in C Column). Please refer that source as column list as per staff specific in the pivot table.

Hope you understand the whole scenario. Once again your skills will help me.
Please refer the attachment, then you will be able to understand better.

Thanks in advance.
Regards,
Mehmud





 

Attachments

  • Staff Tracker Monthy Pivot Table.xlsm
    380.9 KB · Views: 1
Hey Vletm,
Hope everything is fine.

Actually, I tried the same but unable to do with multiple tables in different sheets.

Can you please do this last thing for me.

Regards,
Mehmud

 
Back
Top