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: 25
Default Removing Excel password.

Hello Tim,

Change:
Password:=""

To:
Password:=Empty

Hope this helps,

Kris

-----Original Message-----
Hi,

I am using the following code ( VB.NET) to try and

remove a password from a
Excel Workbook.

objWB.SaveAs(Filename:=objWB.FullName,
FileFormat:=Excel.XlFileFormat.xlWorkbookNormal ,

Password:="",
WriteResPassword:="", ReadOnlyRecommended:=False,

CreateBackup:=False)

But it is not working.

I can set different passwords, but when I try to remove

it, it does not
work.

Any ideas



.

 
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
removing password protection AllieR Excel Discussion (Misc queries) 1 March 17th 09 03:41 PM
Removing a password grizzly6969 Excel Discussion (Misc queries) 3 January 22nd 09 01:24 AM
Removing password protection from an Excel workbook PatMayne Excel Discussion (Misc queries) 2 November 21st 08 07:02 PM
removing excel sheet password nag New Users to Excel 2 April 9th 08 09:32 PM
Removing an open file password protection Dollster Excel Worksheet Functions 0 November 24th 06 03:21 PM


All times are GMT +1. The time now is 09:35 AM.

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

About Us

"It's about Microsoft Excel"