Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Just wondering if there is a way to load info into a worksheet, then pause
for a few moments, and then apply protection to a specific sheet so users cant delete rows in this sheet. I cant import the information with protection on the sheet. I looked though many helpful topics on this DG, but the answer is eluding me. I have code in a module that loads the data into the sheet. I placed a Private Sub behind the worksheet itself. Below is the code that I was mulling over; doesnt seem to do what I wanted it to do. Does anyone have any ideas as to how to proceed? Excel may not permit this activity. I can't tell for sure... Private Sub my_Procedure() Application.OnTime Now + TimeValue("00:00:10"), "my_Procedure" ActiveSheet.Protect DrawingObjects:=False, Contents:=True, Scenarios:= _ False, AllowFormattingCells:=True, AllowFormattingColumns:=True, _ AllowFormattingRows:=True, AllowInsertingColumns:=True, AllowInsertingRows _ :=True, AllowInsertingHyperlinks:=True, AllowDeletingColumns:=True, _ AllowSorting:=True, AllowFiltering:=True, AllowUsingPivotTables:=True End Sub -- RyGuy |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel Data Protection Best Practice: AKA: Real Sheet Protection | Excel Discussion (Misc queries) | |||
Excel Data Protection- AKA: Sheet/Macro Password Protection | Setting up and Configuration of Excel | |||
import data greyed out when protection enabled | Excel Discussion (Misc queries) | |||
import data protection | Excel Worksheet Functions | |||
how do I build a pause (or delay) into my macro? | Excel Programming |