Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 08-26-2011, 12:31 AM
Catalin.B Catalin.B is offline VBA Macro Windows Vista VBA Macro Office 2007
Expert
 
Join Date: May 2011
Location: Iaşi, Romānia
Posts: 386
Catalin.B is on a distinguished road
Default

you dont need a macro for this, after you hide a column, and after you lock or unlock the cells you want your users to be able to modify, under the review tab, protect worksheet, check the options that enables your user to do (or not) an action on that worksheet. The password is optional, but if you dont use a password, your users can unprotect the worksheet and delete columns by simply clicking the unprotect worksheet under review-tab

you have here details about using this feature

http://office.microsoft.com/en-us/he...010078580.aspx
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I assign a macro to a button when the macro is in my personal workbook? foolios Excel Programming 2 07-27-2011 02:41 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:37 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft