Password on an Excel file
We have an Excel file with important information, which has a password on it. No one seems to recall what that password is. Is there any way to get into that file, say by logging in as Admin, so we can remove the password?
Hello
Have a look at this article , may help
http://www.askdavetaylor.com/how_to_remove_password_protection_from_microsoft_ex cel_worksheet_file.html
Pierre
Similar Messages
-
Excel file attachment to email with password protection
Hi Experts,
I have a req. to run an payroll interface and send the o/p to email ids as password protected excel attachment.
Searched in the SDN and found the way to generate excel files with protection in presentation server. But as the job would be run in background, presentation server file will not help in this case.
Please let me know if someone has come across with similar situation and have any solution. After many research and searching in SDN also I did not get any good solution. Please let me know if any of you have any solution.
Thanks & Regards,
ManasHey Manas,
Try this.....
-> [ Password protection for excel file - not urgent|Password protection for excel file - not urgent]
-> [http://wiki.sdn.sap.com/wiki/display/Snippets/DownloadDataintoMultipleSheetExcelDocumentwithNonEditableColumns%28Passwordprotected%29UsingABAPOLE|http://wiki.sdn.sap.com/wiki/display/Snippets/DownloadDataintoMultipleSheetExcelDocumentwithNonEditableColumns%28Passwordprotected%29UsingABAPOLE]
Hope it helps!!
Thanks,
Muktar -
Hi,
Is it possible to put a password on an excel file using ABAP. I am using OLE and am able to protect the cells.
Thanks.I am not sure this will work, but here's my educated guess:
About two weeks ago, Microsoft started offering an Excel app for iPad:
https://itunes.apple.com/us/app/microsoft-excel-for-ipad/id586683407?mt=8
If you use this app (which requires an Office 365 subscription, as noted in the app's description), my guess is you can then open the spreadsheet. -
Creating Password Protected MS WORD File
Hi,
i reported a program which creating password protected ms excel file using OLE2 objects in local harddisk of computer.
can i report same program with ms word file?
Can somebody help me pls?
Thanks.Hello,
This is what you require
GET PROPERTY OF word 'activedocument' = actdoc .
CREATE OBJECT word 'WORD.APPLICATION' .
IF sy-subrc NE 0 .
MESSAGE s000(su) WITH 'Error while creating OLE object!'.
LEAVE PROGRAM .
ENDIF .
GET PROPERTY OF word 'documents' = documents.
CALL METHOD OF documents 'Add' = newdoc.
call method of newdoc 'Activate'.
CALL METHOD OF actdoc 'SaveAs'
EXPORTING
#1 = 'C:\file.doc' "filename
#2 = 1 "fileFormat
#3 = 0 "LockComments
#4 = 'passopen' "password to open a workbook
#5 = 0 "AddToRecentFiles
#6 = 'passmod'. "password for write access -
How do I open a password protected excel file created on a PC in numbers 09, on a MacBook Air? I get a message that the "file is encrypted and can't be opened"
This is actually not true; I support users who are doing this w/ Excel 2011 (v14.2.2+) for Mac and Windows users w/ Excel 2003 & 2007. Win users are from finance dept, and who have pasword-protected various budget files. The Mac users are (surprise) "creative" users, who enter pw to unlock and edit these budget files.
These files are shared from a Mac server (running 10.6.8 server), and I do have an erratic problem where all users have read-only access to these pw-protected Excel files. The manual work-around has been to copy the troublesome file(s) and confirm users have full access again. I also do a shuffling of filenames, so that the new, working file has original file name.
FYI: the Mac server POSIX and ACL permissions are correct, and don't appear to be source of the problem.
It's easy an SMB file-locking issue or concurrent users trying to edit these files. I keep reminding them that Excel is not a database! -
OLE2 Excel File Save as password protected
Hi All,
I would like to save an Excel File as Password protected.
This File is created by OLE2.
How can I do this?
This is the Coding, how I save the File-->
CALL METHOD OF ls_wbook 'SaveAs' EXPORTING #1 = p_file.
Thanks for the Answers...
Bye
BesiHello Besi,
The following code should work. Try it out.
CALL METHOD OF document 'Protect' EXPORTING
#1 = 2
#2 = -1
#3 = 'password'.
CALL METHOD OF documents 'Save'.
Here 'document' is the 'ActiveDocument' object.
How to get the 'document' object:
CREATE OBJECT worddoc 'Word.Document'.
GET PROPERTY OF worddoc 'Application' = wordapp.
GET PROPERTY OF wordapp 'ActiveDocument' = document.
Regards,
Jitendar -
Password protected Excel file generation using Java
Hi,
I want to create password protected excel file using Java. So when you manually open this file it should prompt for password.
There are APIs but they are licensed and are for trial period. I want solution which is free.
I need this solution urgently..
:-)Swati.S wrote:
Hi Administrator,
Moderator. Administrators post with the Sun logo.
I'm sorry I wasnt aware that we cannot have off forum communication. Can you please communicate how I can spread this message taht solution for this is available.If you like, you can post the code here or on [SDN Share|http://sdnshare.sun.com/]. Apart from that, there's no shortage of blog sites. -
HT4088 Will numbers open an excel file that is password protected? Xlsx latest ms excel?
Will numbers open an excel file that is password protected? Xlsx latest ms excel?
No. None of the iWork apps on any platform will open a password-protected Office file. You have to remove the password in Office first.
-
Strange: When download excel file from Apex, it ask XDB username/password.
Hi
I'm using Apex 4.0.1 on Oracle 10.2.0.3, I have a application where end user can upload some file(excel/PDF/Word) as an attachment and later on they will download. Everything is fine but one thing:
When User press the download button, a popup window asking you whether you want to open it or save it. when it's PDF/Word file, all works fine no matter what you choose; but when it's an Excel file, if we try to open it(press the open), it will popup a window saying 'XDB need a username and password'. But if you ingore it, it did open the file without any issue; If user press Save button, no issue at all.
So the app still work but it's kind of annoying..
Any one seen this before? Any idea?
Thanks
Mike
Edited by: mike on Feb 24, 2011 1:47 PMYou should open the excel file in binary mode, in that case, no errors will occur.
Also, there is a very good package located on
http://stareyes.homeip.net:8888/. It's free. The only thing is the server open
for a certain hours during the weekday. 11:00amp to 7:00pm New York time zone. -
Password Protection to the Excel File that was down loaded
Hi Friends,
I had an requirement regarding the excel file.whenever the excel file is down loaded on the desktop it should be password protected.i..e, no one should be able to open the file unless they have the password.REPORT ZWMI_TRUCK_DOWNLOAD no standard page heading.
======================================================================
Program Name : ZWMI_TRUCK_DOWNLOAD *
Description : This Program is used to get all truck load status *
and download into XLS File and fields are Route #, *
Dispatch time ,Closing time ,Scan Details. *
Author : Seshu *
Date : 02/15/2007 *
MODIFICATION HISTORY *
DATE | AUTHOR | CHANGE # | DESCRIPTION OF MODIFICATION *
--|||--
02/15/07| Seshu | DEVK922058 | Initial *
02/20/07| Seshu | DEVK922068 | Changed the name as per Naming *
Convention *
03/14/07| Seshu | DEVK922126 | Included date as Range *
======================================================================
Tables
tables : zsdcarton,
ztruck,
ztruckstatus.
Constants
constants: c_werks(4) type c value '1000'.
Internal table for Ztruck
data : begin of i_ztruck occurs 0,
werks like ztruck-werks," Plant
vdatu like ztruck-vdatu, " Delivery date
ZZTRKNO like ztruck-ZZTRKNO, " Route #
ZZSHIPTIME like ztruck-ZZSHIPTIME, " Dispatch time
ZCLTIME like ztruck-ZCLTIME, " Truck close time
end of i_ztruck.
Internal table for ZSDCARTON
data : begin of i_zsdcarton occurs 0,
lateflag like zsdcarton-lateflag,
zzslot like zsdcarton-zzslot,
status like zsdcarton-status,
end of i_zsdcarton.
Internal table for Final output
data : begin of i_final occurs 0,
vdatu like ztruck-vdatu, " Delivery Date
ZZTRKNO like ztruck-ZZTRKNO, " Route #
ZZSHIPTIME like ztruck-ZZSHIPTIME, " Dispatch time
ZCLTIME like ztruck-ZCLTIME, " Truck close time
load_compl_c(5) type n , " Load Complted Time
status_s_total(5) type n, " No Scan/Load
status_l_total(5) type n, " Late Scan
end of i_final.
Internal Table XLS File Header
DATA: BEGIN OF i_head OCCURS 0,
field(30) TYPE c,
END OF i_head.
Variables
status couter
data: status_total(5) type n,
no scan / no load
status_s(3) type n,
status_s_total(5) type n,
good
status_g(3) type n,
status_g_total(5) type n,
late
status_l(3) type n,
status_l_total(5) type n,
manual
status_m(3) type n,
status_m_total(5) type n,
alternative
status_a(3) type n,
status_a_total(5) type n.
S E L E C T I O N - S C R E E N *************************
selection-screen : begin of block blk with frame title text-001.
select-options : p_vdatu for zsdcarton-vdatu obligatory
default sy-datum.
selection-screen : end of block blk .
S T A R T - O F - S E L E C T I O N ******************
start-of-selection.
Get the data from ZTRUCK and
perform get_data_tables.
Down load the data into XLS file
perform get_download.
S T A R T - O F - S E L E C T I O N ******************
end-of-selection.
*& Form get_data_tables
FORM get_data_tables.
data : lv_time like sy-uzeit.
select werks
vdatu
zztrkno
zzshiptime
zcltime from ztruck into table i_ztruck
where werks = c_werks
and vdatu in p_vdatu.
if sy-subrc ne 0.
message e000(zwave) with 'No data found for given current date'.
endif.
loop at i_ztruck.
refresh : i_zsdcarton.
clear : i_zsdcarton,
lv_time.
Get the Scan Status for Every route
select lateflag zzslot status from zsdcarton into table i_zsdcarton
where werks = i_ztruck-werks
and vdatu = i_ztruck-vdatu
and zztrkno = i_ztruck-zztrkno.
if sy-subrc eq 0.
loop at i_zsdcarton.
case i_zsdcarton-lateflag.
late cartons
when 'X'.
late and never loaded
if i_zsdcarton-zzslot = space.
add 1 to status_s.
else.
add 1 to status_l.
endif.
all other exceptions
when space.
check if scanned
case i_zsdcarton-zzslot.
good scan
when 'S'.
add 1 to status_g.
never scanned
when space.
if i_zsdcarton-status = space.
no scan
add 1 to status_s.
else.
no load -> no scan
add 1 to status_s.
endif.
manual scanned
when 'M'.
if i_zsdcarton-status = 'M'.
add 1 to status_g.
elseif i_zsdcarton-status = 'E'.
exceprtion -> manual
add 1 to status_g.
endif.
endcase.
endcase.
add totals
add status_g to status_g_total.
Late Scan
add status_l to status_l_total.
add status_a to status_a_total.
No Scan and Load
add status_s to status_s_total.
clear : status_g,
status_l,
status_a,
status_s.
endloop.
else.
continue.
endif.
Get the Load Complete Time
select single uzeit from ztruckstatus into lv_time
where werks = i_ztruck-werks
and lgnum = '100'
and vdatu = i_ztruck-vdatu
and zztrkno = i_ztruck-zztrkno
and tstat = 'L'.
if sy-subrc eq 0.
write: lv_time(5)
to i_final-load_compl_c using edit mask '__:__'.
endif.
Delivery Date
i_final-vdatu = i_ztruck-vdatu.
Route #
i_final-zztrkno = i_ztruck-zztrkno.
Dispach time
i_final-zzshiptime = i_ztruck-zzshiptime.
Truck Close Time
i_final-zcltime = i_ztruck-zcltime.
No Scan/ Load
i_final-status_s_total = status_s_total .
Late Scan
i_final-status_l_total = status_l_total.
append i_final.
clear : status_g_total,
status_l_total,
status_a_total,
status_s_total,
lv_time,
i_final.
endloop.
ENDFORM. " get_data_tables
*& Form get_download
Download the data
FORM get_download.
data : lv_file like rlgrap-filename,
lv_date(8) type c.
lv_date = sy-datum.
concatenate 'C:/Truckload' lv_date into lv_file.
Fill the Header Values
Delivery Date
i_head-field = 'Delivery Date'.
append i_head.
Route #
i_head-field = 'Route'.
APPEND i_head.
Dispatch Time
i_head-field = 'Dispatch Time'.
append i_head.
Closing Time
i_head-field = 'Closing Time'.
append i_head.
Load Completed Time
i_head-field = 'Load Completed Time'.
append i_head.
No Scan/Load
i_head-field = 'No Scan/Load'.
append i_head.
Late Scan
i_head-field = 'Late Scan'.
append i_head.
CALL FUNCTION 'EXCEL_OLE_STANDARD_DAT'
EXPORTING
FILE_NAME = lv_file
CREATE_PIVOT = 0
DATA_SHEET_NAME = 'TruckLoad'
PIVOT_SHEET_NAME = ' '
PASSWORD = ' '
PASSWORD_OPTION = 0
TABLES
PIVOT_FIELD_TAB =
DATA_TAB = i_final
FIELDNAMES = i_head
EXCEPTIONS
FILE_NOT_EXIST = 1
FILENAME_EXPECTED = 2
COMMUNICATION_ERROR = 3
OLE_OBJECT_METHOD_ERROR = 4
OLE_OBJECT_PROPERTY_ERROR = 5
INVALID_FILENAME = 6
INVALID_PIVOT_FIELDS = 7
DOWNLOAD_PROBLEM = 8
OTHERS = 9
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " get_download
In function module you have option like password protect.. -
How do I convert a password protected a pdf file to excel
I downloaded my credit card statement from my on-line bank site in PDF format. When I tried to convert it to an excel file, i received a message that it could not be done because the file was password protected. How can I proceed?
I am sorry. I just purchased the upgrade and am just getting acclimatized to the process. I appreciate your comment. And thank you for your response.
-
How do I save excel file with password for read only access ?
Hi
I am trying to save an excel file with a password to make it read only when opened
using OLE2 . I am having a problem with the parameter list. This is my code that does
work.
args := OLE2.CREATE_ARGLIST;
OLE2.ADD_ARG(args, 'C:\Reports\Excel\File.xls');
ole2.add_arg(args, 0);
ole2.add_arg(args, 0);
ole2.add_arg(args, 'TEST');
ole2.add_arg(args, 0);
ole2.add_arg(args, 0);
ole2.add_arg(args, 1);
I also have the following code at the beginning of the program to suppress dialogs.
OLE2.SET_PROPERTY(application,'DisplayAlerts', 'FALSE');
ole2.set_property(application,'Visible', 'false');Hope it help.
-- Begin : Protect your worksheet
args := OLE2.CREATE_ARGLIST;
OLE2.ADD_ARG(args,yourpassword); -- choose your password
OLE2.INVOKE(worksheet, 'Protect', args);
OLE2.DESTROY_ARGLIST(args);
-- End : Protect your worksheet
-- Begin : Save and close worksheet
OLE2.INVOKE(workbook, 'Save');
OLE2.INVOKE(workbook, 'Close');
-- END : Save and close worksheet -
Password protected excel files in Sharepoint 2013
We have an issue with excel sheets. After editing and saving, the tags on the document disappear.
Basically one of my members uploaded the document. On first upload, she input the tags on it, and when she opened and editted and saved it, the tags disappear and also an error message came at the top.
Please note that there is a macro and a password on the document.
Please help !
Regards,
prajKHi Prajk,
I tried to reproduce the issue per the steps below, let me know if there is misunderstanding:
Create an Excel file with Password.
Upload the Excel file.
Select the file and add tags.
Click the Excel file, it says with Password enabled, I can only open it with Excel client application. So I open it with Excel, edit it and save again.
Select the file and click Tags and Notes, the tag is there.
I wonder if the issue can be reproduced on other Excel documents by her account. If you add a tag to the document item, does the issue still occur?
Regards,
Rebecca Tu
TechNet Community Support -
Before I buy "numbers" can anyuser advise me from their experiences if I'll be able to open password protected excel files in iphone 4S?
I haven't tried opening any password-protected Office files in Numbers or Pages on my iOS device, but I doubt that it can be done. Neither Numbers or Pages for the Mac can open them so it is extremely unlikely.
-
How to open an excel file with password in Crystal Reports XI Release 2
I have a problem when i try to open an excel 2003 file with password that i know
i recevived an error code 0xc59
How can I open a file in excel 2003 protected by password to create the report?
Thanks in advancedHi Pierluigi,
It looks like you have to open the excel file and use the data.
A few informative links.
http://support.microsoft.com/kb/257819#RetrieveExcel
http://support.microsoft.com/kb/211378/EN-US/
Hope this helps.
Regards,
Abhijeet Taskar.
Maybe you are looking for
-
ADF DataControl on a Business Service taking a request parameter through url.
Hi, Use Case: I have a business service that contains a method String getPayoad(int b2bMessageId), and then created a data control based on this method. It is not based on BC4J I have a jsf page and dropped this data control on the jsf page (payload
-
Hi, I am using a BufferedWriter to write into a file, and I need to monitor the file size. If the file exceeds certain size, then I need create another file. Here is my code: File file = new File ("myname"); file.createNewFile(); BufferedWriter bwr =
-
I lost my cd for my router e3000 any way still to use it?
-
HT1338 OS X ver 10.5.8 on a mac mini, can i upgrade to mountain lion?
OS X ver 10.5.8 on a mac mini3,1, can i upgrade to mountain lion?
-
Hi, I was doing a platform system migration, I have deleted all the temp tables by SE14. But during the export the system still says there are two QCM tables and one Z table cannot be found. I checked in SE11, SE16 in source system, dba_segments and