+ Reply to Thread
Results 1 to 11 of 11

security issues or providing security for macro enabled files

  1. #1
    Registered User
    Join Date
    08-04-2014
    Location
    Mysore
    MS-Off Ver
    2007
    Posts
    35

    Question security issues or providing security for macro enabled files

    Hi,

    I want to know the Security options/ Password options

    I enclosed one template excel file which contains macro function, in which an end user to entry only raw_data sheet..(he should have all permission for that sheet)
    He should have an read only access for customer, season,flavour sheet.. such that, the person need not insert/delete/update any records for those sheets..
    & also he should not see the macro function.. (so that macro will be secured)
    he just have to execute run button...
    then he should get output as unique_records & duplicates sheets -macro will execute this function & script is also enclosed...

    and then out put sheet - unique_records should be readable.. he is not suppose to entry/alter any data in that sheet..

    But the developer who is developing that template of that excel with macro should have all access/permission.

    Please suggest me about the security issues.....
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    07-30-2014
    Location
    india
    MS-Off Ver
    2007
    Posts
    43

    Re: security issues or providing security for macro enabled files

    hi chek the file i've secured only macro function
    Attached Files Attached Files
    Last edited by globalsourcing; 08-09-2014 at 01:38 AM.

  3. #3
    Registered User
    Join Date
    08-04-2014
    Location
    Mysore
    MS-Off Ver
    2007
    Posts
    35

    Re: security issues or providing security for macro enabled files

    hi,

    Only macro is secured with password. but how to enable it..
    i want to know how to set that option...

  4. #4
    Registered User
    Join Date
    07-30-2014
    Location
    india
    MS-Off Ver
    2007
    Posts
    43

    Re: security issues or providing security for macro enabled files

    on VBA editor click on tools then VBA project properties now window with two tab general & protection u will see, u need to click on protection then click on
    chekbox to lock the project and finally set password.
    to enable it press alt f11 +vbaproject(filename.xlxm) here u just click on + it will ask to enter password

  5. #5
    Forum Contributor
    Join Date
    08-15-2012
    Location
    Australia
    MS-Off Ver
    Excel 2016
    Posts
    349

    Re: security issues or providing security for macro enabled files

    Something like this;

    All sheets are protected when file is open (even though "raw_data sheet" is protected all the cells are not).
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    08-04-2014
    Location
    Mysore
    MS-Off Ver
    2007
    Posts
    35

    Re: security issues or providing security for macro enabled files

    Hi,

    Thank you..
    using above procedure, we can easily secure macro by setting the password..

  7. #7
    Registered User
    Join Date
    08-04-2014
    Location
    Mysore
    MS-Off Ver
    2007
    Posts
    35

    Re: security issues or providing security for macro enabled files

    Hi,

    Thank you..
    using above procedure, we can easily secure macro by setting the password..

  8. #8
    Registered User
    Join Date
    08-04-2014
    Location
    Mysore
    MS-Off Ver
    2007
    Posts
    35

    Re: security issues or providing security for macro enabled files

    Hi,

    Thank you for the guidelines..
    Exactly I want to protect the sheets, but I want to protect the unique_records sheet also.
    unique_record sheet will be generating when a person press Run button(i.e when macro function is executed)
    so how to protect that sheet.. whether for protecting that sheet macro should be include?
    how to resolve this?

  9. #9
    Registered User
    Join Date
    08-04-2014
    Location
    Mysore
    MS-Off Ver
    2007
    Posts
    35

    Re: security issues or providing security for macro enabled files

    Hi,

    Thank you for the guidelines..
    Exactly I want to protect the sheets, but I want to protect the unique_records sheet also.
    unique_record sheet will be generating when a person press Run button(i.e when macro function is executed)
    so how to protect that sheet.. whether for protecting that sheet macro should be include?
    how to resolve this?

  10. #10
    Forum Contributor
    Join Date
    08-15-2012
    Location
    Australia
    MS-Off Ver
    Excel 2016
    Posts
    349

    Re: security issues or providing security for macro enabled files

    Check uploaded file, make sure that all the passwords are the same;
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    08-04-2014
    Location
    Mysore
    MS-Off Ver
    2007
    Posts
    35

    Re: security issues or providing security for macro enabled files

    Hi,

    Thank you for the solution provided.
    for all the sheets are provided with password, but i don't wont to set protection for raw_data sheet..
    raw_data sheet should have all permission..
    so i want to disable protect (password) sheet only for raw_data sheet & enable for remaining sheets...
    is there any method..

  12. #12
    Forum Contributor
    Join Date
    08-15-2012
    Location
    Australia
    MS-Off Ver
    Excel 2016
    Posts
    349

    Re: security issues or providing security for macro enabled files

    Code amended;
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    08-04-2014
    Location
    Mysore
    MS-Off Ver
    2007
    Posts
    35

    Re: security issues or providing security for macro enabled files

    Hi,

    Thank you for the solution provided...

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 01-24-2013, 08:03 AM
  2. Opening Excel files with Macro Security Warning
    By tdf2437 in forum Excel General
    Replies: 6
    Last Post: 01-13-2010, 06:03 PM
  3. Macro security issues
    By LisaG in forum Excel General
    Replies: 0
    Last Post: 01-17-2006, 06:45 AM
  4. SECURITY ISSUES
    By CindyC in forum Excel General
    Replies: 1
    Last Post: 12-20-2005, 09:00 PM
  5. Macro Security and other painfull issues
    By paul in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-24-2005, 08:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1