LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Allow access to cell but don't change cells formula

Ok, here's one more for ya...

I have my sheet password protected but I am allowing access to certai
fields that have formulas in them.
For example, If they select a vendor from a list it will populate
cell by means of vlookup. There are times when they may need to chang
an address or contact name so I am allowing access to those cells. Her
is my problem... After they have changed those cells what is stopin
them from pressing the save button which will overwrite my formulas? I
the a VB way to avoid this?

I have the following which stops them from using the SaveAs.
Can this be modified to work with the save option too?

'Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel A
Boolean)

If SaveAsUI = True Then
MsgBox "I'm Sorry, Per QS 9000 we can only have one copy of this form
Sorry, No exceptions."
Cancel = True
Exit Sub
End If

End Su

--
Message posted from http://www.ExcelForum.com

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
making copied cells change with change in original cell Jennifer Mcdermeit Excel Worksheet Functions 2 July 20th 06 04:58 PM
How do I change a number in one cell to change a series of cells? lance559 Excel Discussion (Misc queries) 2 January 13th 06 08:56 PM
Can I change a cell and cause an automatic change in other cells Swissmiss Excel Worksheet Functions 2 August 12th 05 05:00 PM
export access to excel. change access & update excel at same time fastcar Excel Discussion (Misc queries) 0 June 24th 05 09:27 PM
Copy cells into range of cells until cell change mdeanda Excel Worksheet Functions 1 April 22nd 05 08:41 PM


All times are GMT +1. The time now is 03:30 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"