Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default SaveCopyAs losing security settings

Hi...

I have a workbook that I use as a master order form. It is password
protected, with only unlocked being selectable. A user will fill in
information in the unlocked cells, then click a "finish" button which does
some checking and executes the following code to save the workbook under a
new name:

NewName = ActiveWorkbook.Path & "\SKOrder " &
Worksheets("DataEntry").Range("Customer_Company") & ".xls"
FileSaveName = Application.GetSaveAsFilename( _
InitialFileName:=NewName, FileFilter:="Microsoft Excel Workbook
(*.xls), *.xls")
If FileSaveName < False Then ActiveWorkbook.SaveCopyAs FileSaveName

This works like a champ...the new workbook is still password protected, and
the locked cells are still locked, but the locked cells are now selectable!

Is this a bug...or is there some setting I'm missing somewhere?

Thanks for any help...
Rick


Reply
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
Losing Tool Bar Settings John O Excel Discussion (Misc queries) 0 March 31st 09 02:37 PM
Security Settings Alex Mackenzie Excel Worksheet Functions 2 August 16th 07 04:18 AM
Security Settings wgaskill Setting up and Configuration of Excel 0 August 28th 06 01:34 AM
Shared workbook losing print settings koppers Excel Discussion (Misc queries) 0 November 11th 05 01:09 AM


All times are GMT +1. The time now is 11:13 AM.

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"