![]() |
How do I use VB to set permissions for cell ranges in Excel 2K3?
I'm trying to use a macro / Visual Basic to select a cell's contents
(contains the Windows user ID) and then set permissions on a specific range of cells so that only that user can edit the cells. I can do this manually using ToolsProtection"Allow Users to Edit Ranges . . ." dialog box. But, I need to do this for 100 users and repeat it every month, so I'd like to use a script. I can define and name the ranges and set the passwords using a script in Excel, but can't figure out how to access the "Permissions" settings to specify users. Anyone have any idea? |
All times are GMT +1. The time now is 03:54 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com