Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Remove password

My excel app opens a password protected excel template (thus opening
an excel workbook based on the template). It then populates the
workbook with some data and presents it to the user.

I would then like to remove the password on the workbook, so that if
the user wishes to save, he will not have to click Save As, Options
and set Password To Open to blank. The problem is that sometimes the
user forgets to remove the password, and I then have to open the
workbook using the password and resave it for him.

I know that one can SaveAs without the password, however this is not
the ideal solution since the user may wish to view the data before he
decides whether or not to save.

Is there a way of setting the workbook password to blank without
prompting the user to save?


Regards,
Saul
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,718
Default Remove password

It sounds as if you have macros running. If so, you might consider adding
to them to create a new workbook by copying the sheet(s) in your template
workbook to a new workbook. And then close the template so the user is left
with an unsaved new workbook that will not be password protected.

--
Jim Rech
Excel MVP


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
remove password on VBA code Tom Excel Discussion (Misc queries) 1 February 13th 10 06:36 AM
Remove Password Zita Excel Worksheet Functions 3 July 21st 09 07:33 PM
how do i remove password from xls vba macro? mahesh New Users to Excel 1 October 26th 06 10:22 AM
how to remove a password from a cell Terry Excel Discussion (Misc queries) 1 January 11th 06 08:26 PM
Remove a password Kimberly Excel Worksheet Functions 1 October 5th 05 04:59 PM


All times are GMT +1. The time now is 02:05 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"