Upload spreadsheet as read-only

Is there a command to open a spreadsheet as read-only in Oracle 10g? We are using Client_ole2:
     workbooks := CLIENT_OLE2.GET_OBJ_PROPERTY(application, 'Workbooks');
     args := CLIENT_OLE2.CREATE_ARGLIST;
     CLIENT_OLE2.add_arg(args,:excel_filename);
     workbook := CLIENT_OLE2.INVOKE_OBJ(workbooks, 'Open',args);
     CLIENT_OLE2.DESTROY_ARGLIST(args);
Etc....
I am assuming perhaps there is a command word I can use in the INVOKE_OBJ line instead of 'Open', but I have yet to find a suitable replacement word. If a spreadsheet has macros, then as is, when the script runs to completion I get a 'do you want to save the changes you made?' that is coming from Excel.
Thanks in advance.

Hi jwbennet, welcome to the forums,
sounds like some of the documents were possibly copied to the drive from a write protected drive similar to a closed cd or dvd; when written to cd or dvd files will become write protected. 
Please try the following; click on a, or select multiple, folder(s) and right click on them, then select properties.  Ensure that the Attributes - Read Only box is empty and then apply the change.
Hope this helps.
Andy  ______________________________________
Please remember to come back and mark the post that you feel solved your question as the solution, it earns the member + points
Did you find a post helpfull? You can thank the member by clicking on the star to the left awarding them Kudos Please add your type, model number and OS to your signature, it helps to help you. Forum Search Option T430 2347-G7U W8 x64, Yoga 10 HD+, Tablet 1838-2BG, T61p 6460-67G W7 x64, T43p 2668-G2G XP, T23 2647-9LG XP, plus a few more. FYI Unsolicited Personal Messages will be ignored.
  Deutsche Community     Comunidad en Español    English Community Русскоязычное Сообщество
PepperonI blog 

Similar Messages

  • Macbook pro is automatically saving excel spreadsheets as read-only, Macbook pro is automatically saving excel spreadsheets as read-only

    I'm a new MacBook user and my MacBook Pro is automatically saving my Excel spreadsheets as read-only Word is doing the same too.   Can anyone tell me how I can set these programs so that they don't automatically save as read-only please?

    Okay - went thru the process of completely removing Office and re-installing. This seems to fix the problem related to Excel. Now what should happen when Microsoft wants to install Office updates? I believe I recently installed an Office update and maybe that could have contributed to this problem. I can't be doing this everytime there is an update from MS or Apple...
    Thanks for your help..
    -Steve-

  • Upload data to excel sheet- make columns read only

    I would like to upload my internal table data-10 columns into excel sheet.
    I know how to upload my data into excel sheet.
    I want 2 of the columns in excel sheet to be read only out of the 10 columns.
    Is there any way that i can control the properties of excel sheet from SAP.
    Thanks in advance

    done

  • Upload a value in read-only field using Webservices or Workflow

    Can you please let me know if is feasible to upload a value into a read-only field using webservices or workflow
    If so, can you please provide an example?
    Thanks

    Using WS, you cant update the field value, if it is set as "Read-Only" @ the object - Field definition level, but you can update that using WS if it is set as "Read-Only" @ the layout level. Same applicable to Workflows too
    -- Venky CRMIT

  • Report with both read-only and uploadable features

    Client would like to use one report as both an uploadable report and as a read-only report, depending on user.
    Is there any way to have a report which gets security based on the user making the request, say, by hiding the upload button for the user without the rights to it, or by validating before the upload occurs?
    Thank you.

    Hi Venkat,
    You can get logged in user name using the code below in your report
    ThisWorkbook.InterlaceSession.Username ---> This will return who is logged in.
    Similarly you also have other properties like
    ThisWorkbook.InterlaceSession.IsAdmin
    ThisWorkbook.InterlaceSession.IsOwner
    ThisWorkbook.InterlaceSession.IsParticipant
    ThisWorkbook.InterlaceSession.IsApprover
    Based on these you should be able hide update changes button with simple VB code.
    Thanks
    Hari Devarapalli

  • Exported spreadsheet for windows is sent out as read only.

    Hi there,
    I am trying to export two spreadsheets. I export and send both of them ok. The second one for some strange reason once received by the other person who uses Windows is as read only and the person is not allowed to make changes.
    I would like to know if it is some weird glitch or of there is some button tab where I can set the properties or unmark this option. I am sending both to the same person and the prob is with the second one.
    Thanks
    E

    Thanks GKaiseril
    I found this in the forums from a previous post by try67
    It works perferctly.
    However in his post he left off the last bracket }
    for (var i=0; i<this.numFields; i++) {
    var f = this.getField(this.getNthFieldName(i));
    if (f!=null && f.type!="button") f.readonly = true;
    Ron A

  • Read Only Columns

    Hi,
    We have designed a update METADATE type custom integrator to download, update and re-upload data to Oracle Apps. As a part of the integrator we are displaying few extra columns for the end users viewing purpose. The client want us to make such view only columns as 'READ ONLY' and prevent any changes to them. They want such columns to either be greyed out or protected in order to prevent any changes. Is it possible to achieve this using WebADI? We tried updating the READ_ONLY_FLAG column in the table bne_interface_cols_b but it doesn't work as expected. This set-up allows the end user to update/make changes to the column in the excel sheet and throws an error only when the sheet is uploaded, not before that.
    Any suggestions/help is appreciated. We are on R11i.
    Thanks,
    Nitin jain

    As suggested, an update statement like below will address the issue in R11i:
    update bne_layout_cols
    set style = 'mso-protection:locked;'
    where application_id = <>
    and interface_code = <>
    and sequence_num in <>;

  • Recently my keyboard on my macbook pro died. i backed up the machine to my Seagate 500GB hard drive, successfully, and sent the notebook in for repairs. Now that the macbook is repaired, i can read from the seagate, but not write to it. It says read only.

    Recently my Macbook Pro's keyboard failed. Using my wireless keyboard, i managed to backup everything to my 500gb Seagate external hard drive. I sent the machine in, had the keyboard repaired, and now the machine is back, and i am loading my content back onto the macbook. My problem is that the drive is now read only, and i have searched for all the obvious fixes. The lock on the permissions secion of the info block on the drive. (not present). I have even tried disk utility, but all the options are greyed out.
    I am a graphic designer, and so i use my external drive extensively to move artwork around, so it is important that i can make it writable. It worked perfectly on this very same machine, two weeks ago, and nothing has changed on the drive, so i can only assume it is a software issue on the operating system.
    I have read through all the forums, etc, and can find nothing that works. I am loath to change anything on the drive, as it was working perfectly on this system before the system went in for its repair.
    Any help would be greatly appreciated.
    -Captain Zub-

    Please post a screenshot of Disk Utility that shows what you mean. Be careful not to include any private information.
    Start a reply to this message. Click the camera icon in the toolbar of the editing window and select the image file to upload it. You can also include text in the reply.

  • My windows(8.1 64bit) partition is read only from the mac(yosemite) side of things. Anybody have a clue on how to fix this? Also, slightly frustrating as well, windows crashes every time I attempt to open a file from the mac partition.

    my windows(8.1 64bit) partition is read only from the mac(yosemite) side of things. Anybody have a clue on how to fix this? Also, slightly frustrating as well, windows crashes every time I attempt to open a file from the mac partition.

    All Office applications will also try to open a temporary work file in the same location as the source file. This implies the source file directory also needs to be writable for this temporary file. Since the default HFS+ driver provides only read-only access, such temporary files will fail to open, and will cause the application to fail.
    As a test copy the file you want to edit, say an Excel spreadsheet from the OSX file system to the C: drive on the Windows side and try to open it. If you look in this directory, you should see two files, the source and a temporary file. You may have to force the temporary file to be opened on a read-write file system, by manipulating the folder for temporary files.

  • Read only access to J2EE related tools

    Hello,
    I would like to help our auditors access everything they need to check in the Java systems, but I am not ready to give them ADMIN accounts. That`s why I need some kind of read only access for them.
    So I would like to ask you if there is a SAP Note about the read only access roles for J2EE/ Java AS?
    I am afraid there is no such note available, so can anybody share any experience with granting read only access to the Java system? I know how to grant access to the whole NWA, but what about the rest?
    Examples:
    - is there a way how to grant read only access only to the UME?
    - is there a role for read only access to the portal PCD?
    - is there something similar for KM access?
    Or has anybody ever tried to split the admin roles into smaller pieces? Is there a description/ document how to do such thing?
    Thank you for your time and effort,
    cheers Otto

    Hi,
    thanks for trying, but I can use help.sap.com and was on that page before.
    Maybe if there were any examples there or better: if the whole thing would be more granular (I see no point in using roles starting with SUPER, containing ADMIN or ending with ALL). I am looking for roles for surgery or for auditing. I don`t want to give anybody these super/admin/all roles just like that.
    If you can suggest how to use that page, that would be cool. Otherwise I see no use.
    By the way: another question of mine about surgery: How to restrict access to download/ upload UME configuration file
    I would like to know how to controla access to this specific feature, nothing else.
    Thanks for the time and effort,
    cheers Otto

  • How to read only particualr columns from excel sheet to internal table

    Hi,
    I have and excel sheet which has around 20 columns, in which i want to read only 6 columns. They are at different column positions, means the 1st column, 6thcolumn, 8th column so on..
    Can we do this in sap? do we have any FM to do this?
    Thanks.
    Praveena.

    hi,
    Use the below logic to fetch the data into internal table..You need to read the data cell by cell and update the internal table,
    DATA l_count TYPE sy-tabix.
       CONSTANTS: lc_begin_col TYPE i VALUE '1',
                  lc_begin_row TYPE i VALUE '2',
                  lc_end_col   TYPE i VALUE '2',
                  lc_end_row   TYPE i VALUE '3000'.
      CLEAR p_i_excel_data. REFRESH p_i_excel_data.
    * Function module to read excel file and convert it into internal table
       CALL FUNCTION 'KCD_EXCEL_OLE_TO_INT_CONVERT'
         EXPORTING
           filename                = p_p_file
           i_begin_col             = lc_begin_col
           i_begin_row             = lc_begin_row
           i_end_col               = lc_end_col
           i_end_row               = lc_end_row
         TABLES
           intern                  = i_data
         EXCEPTIONS
           inconsistent_parameters = 1
           upload_ole              = 2
           OTHERS                  = 3.
    * Error in file upload
       IF sy-subrc NE 0 .
         MESSAGE text-006 TYPE 'E'.
         EXIT.
       ENDIF.
       IF i_data[] IS INITIAL .
         MESSAGE text-007 TYPE 'E'.
         EXIT.
       ELSE.
         SORT i_data BY row col .
    * Loop to fill data in Internal Table
         LOOP AT i_data .
           MOVE i_data-col TO l_count .
           ASSIGN COMPONENT l_count OF STRUCTURE p_i_excel_data TO <fs_source> .
           MOVE i_data-value TO <fs_source> .
           AT END OF row .
    * Append data into internal table
             APPEND p_i_excel_data.
             CLEAR p_i_excel_data.
           ENDAT .
         ENDLOOP .
       ENDIF .

  • NULL values are inserted into interface table for read only columns

    Hi, I developed a custom Integrator where some of the columns has to be displayed as read only in the layout. I am using SQL content to populate the data. When I upload the data NULL values are inserted into table interface? Is there any work around for this?
    Thanks
    Edited by: user593879 on Jan 12, 2010 7:21 PM

    Doesn't WebADI drive you insane at times?
    I must say, when it's all working it looks great and it is very user friendly (end-user that is, NOT for developers!) but before you get to that stage… please please Oracle invest some time making Web ADI a bit more logical an coherent, get the obvious bugs out, please let us not have to update BNE tables anymore to get things done.
    Anyway, I sorted this one out by setting the Width to zero (0) in the Layout. HTH.

  • "read from measurement file" reads only first line of data

    Hello,
    I have a problem when trying to read a .lvm file through "Read from Measurements file" with the following block diagram
    Problem: it reads only the first line of data from what I can see in the probe window,.
    A part of the lvm file for reference.
    I haven't used Labview in a long long time, I'm trying to figure out what I am doing wrong.
    Thanks

    Sorry meant to attach the lvm. Here it is. (Actually I had to put it in .txt because the forum wont let me upload a lvm file)
    I unfortunately cannot share the full vi that record the data as I am not its owner/creator. I'll try to give as much info as I can with the relevant pictures attached, I hope it allows us to at least have an hint of where the problem might be.
    (this is in a while loop)
    In the stacked sequence, the other pannels are similar to the one shown here: value read fron a variable, converted to dynamic and a signal attribute is set. The "start recording" control operation is "switch when pressed".
    Here are the properties of the set signal attributes
    And here are the properties of the "write to measurement file"
    Attachments:
    NoTarget_full circle__Rx_-10-SAMPLE.txt ‏60 KB

  • When I converted a file from PDF to WORD.DOC it opened as Read Only and I'm unable to alter any of the text.  How can I solve this problem?

    When I tried to convert a file from PDF to WORD.DOC it opened as Read Only and I'm unable to alter any of the text.  How do I solve this problem?  I don't know how to change it from Read Only.

    Dear Sara
    Thank you very much for sending the converted file.  Yes, I am able to edit it - that will be very useful to me and I appreciate your help.
    Referring to your previous message when you said you'd converted via Acrobat and not Acrobat.com, I'm converting via Acrobat.com because that's the only option that is shown (how do I convert via Acrobat? - perhaps that would be more successful).  I'm using the Export PDF website, and the OCR is enabled to "Recognize text in English UK".  However, I've just tried converting a different LPA pdf form, this time for Health & Welfare https://www.gov.uk/government/uploads/system/uploads/attachment_data/file/245571/LPA114_He alth_welfare_LPA.pdf and again I have the same problem as before.  I've altered it from "Read only" and thought I'd then be able to enter text, but "Drawing Tools" is shown in the pane and I'm unable to enter anything onto the form - everything appears to be in images.  Also, the lettering on the heading of' page 1 has become jumbled, with the word "Public" overlaying the word "Guardian."  Any suggestions as to what it is I'm doing wrong would be welcome - I don't like to be beaten!
    Regards,
    Judith.

  • This is an error from my HP scanner. How can I fix the problem? An error has occurred saving the file because it could not be written to. Check the properties for the file to make sure it is not read-only.

    I recently uploaded the Maverick operating system. I wanted to scan some things on my HP Printer/Scanner and could not . This is the error message I received: An  error has occurred saving the file because it could not be written to.   Check the properties for the file to make sure it is not read-only. I am a novice with the computer and have no one to help. I hope someone knows an easy fix.
    Thank you

    This worked for me:
    "Although it is not a 'fix' for the HP issue, I did find a workaround that helped me. In the Preferences Panel in MacOS X you can pull up the Printer/Scanner preferences and scan directly from OS X. I'd not known of this prior to posting here and it worked like a charm."
    "Of course, HP should still update their software, but it's good to know that Apple has it covered for them."
    I found it here:
    http://h30434.www3.hp.com/t5/Mac-Printing-and-Scanning/MAVERICKS-WONT-SCAN-HP-C3 09A/td-p/3052105

Maybe you are looking for

  • STO depot to depot

    Hello While doing STO between depot to depot for the same company am getting this error. I did this ME21N- VL10B-Vl02N-VF01- then if  I go with J1IIN to get excise invoice  then system comes with this error message. "Document is of plant 1871 which i

  • XML in ORACLE

    Hi I would like to know how XML works and how to set the http server and other stuff if any body working on this are please give some tips, source code snippets, and sites to get documentation... Thanks in advace null

  • IPhoto 8.1.2 crashes during jpg Export

    Why does iPhoto 8.1.2 crash whenever I try to export a photo at full size and/or maximum quality?

  • Group by hour

    Hello, I have at table with a date field (dd/mm/yyyy hh) How do I group by hh ? I want something like the below: SELECT TRUNC(DATE_FIELD) COUNT(*) FROM MYTABLE GROUP BY TRUNC(DATE_FIELD); but this will group by dd/mm/yy I need the same query but grou

  • Querying tables mapped by oneToMany, manyToOne

    Hi, I have two classes, customers and customerinfo, both mapped to a database. There is a cust_id field in customers which is a primary key and a cust_id field in customerinfo which is a foreign key referencing the cust_id in customers. Relevant code