I need an applescript that opens documents in excel from a specified folder and saves them as .xlsx from their current .xlsb

I tried simply renaming them however it just corrupts the files when I do it like that so I need the applescript to open the files in excel and the save them as .xlsx to test I only need it one folder but if it works I'd like to be able to do it for all documents with .xlsb extentions that are in a huge folder with subfolders that contain a mix of .pdf, .docx, .xlsx and .xlsb. Please Help.

In that huge folder I only need the .xlsb files opened and saved to .xlsx not the others, in case that wasn't clear above.

Similar Messages

  • Developers I need an applescript that opens documents in excel from a specified folder and saves them as .xlsx from their current .xlsb

    mule13470 
    Apr 3, 2014 11:12 AM 
    I tried simply renaming them however it just corrupts the files when I do it like that so I need the applescript to open the files in excel and the save them as .xlsx to test I only need it one folder but if it works I'd like to be able to do it for all documents with .xlsb extentions that are in a huge folder with subfolders that contain a mix of .pdf, .docx, .xlsx and .xlsb. Please Help.
    Applescript Editor, Mac OS X (10.6.8) 
    I have this question too (0) 
    Reply
    Categories: Using OS X MavericksTags: mac, help, finder, excel, applescript_editor
    Level 1 (0 points)
    mule13470
    Re: I need an applescript that opens documents in excel from a specified folder and saves them as .xlsx from their current .xlsbApr 3, 2014 11:19 AM (in response to mule13470) 
    In that huge folder I only need the .xlsb files opened and saved to .xlsx not the others, in case that wasn't clear above.

    In that huge folder I only need the .xlsb files opened and saved to .xlsx not the others, in case that wasn't clear above.

  • Script to open SVGs in a folder and save them to one multipage PDF

    Hi.
    I'm using Illustrator for work and I love it, I never needed scripts yet.
    Now I have couple houndred svgs coming in per day,
    I would like to have a script that opens every svg one by one in the selected directory and add them to a pdf
    as pages of the same size and than save it.
    Is this possible? How many files I could put in 1 pdf this way?
    I'm using Illustrator CS5 on Win7 x64.
    Thanks in advance.
    Istvan

    I think there is a 100 file limit on artboards ( not tested ) but the size would also affect that… You can't straight place *.svg but you can make group from them would that do you?
    #target Illustrator
    function filesToArtboards() {
              // My function variables…
              var doc, fileList, i, inFolder, mm, svgFile;
              // Get the user to select a folder
              inFolder = Folder.selectDialog( 'Please choose your Folder of files to place…' );
              // Check they ain't cancelled
              if ( inFolder != null ) {
                        // Gets just the SVG files…
                        fileList = inFolder.getFiles( /\.svg$/i );
                        // Make sure it has AI files in it…
                        if ( fileList.length > 0 ) {
                                  mm = 2.83464567 // Metric MM converter…
                                  // Set the script to work with artboard rulers
                                  app.coordinateSystem =
                                  CoordinateSystem.ARTBOARDCOORDINATESYSTEM;
                                  // Add new multi-page document
                                  doc = app.documents.add(
                                             DocumentColorSpace.RGB,
                                             width = 148.5*mm,
                                             height = 210*mm,
                                             numArtboards = fileList.length, // The number of SVG files
                                             DocumentArtboardLayout.GridByCol,
                                             artboardSpacing = 20*mm,
                                             artboardRowsOrCols = Math.round( Math.sqrt( fileList.length ) )
                                  // Loop thru the counter
                                  for ( i = 0; i < fileList.length; i++ ) {
                                            // Set the active artboard rulers based on this 
                                            doc.artboards.setActiveArtboardIndex( i );
                                            // Create group from SVG
                                            svgFile = doc.groupItems.createFromFile( fileList[i] );
                                            // Move relative to this artboards rulers
                                            // Top Left
                                            sgvFile.position = [ 0, 0 ];
    filesToArtboards();

  • Open all pages in a PDF and save them as sequential files

    I'm trying to make a script that will open all pages in a multi-page PDF and save them as sequential files, but I have had no luck with the simple script in the "Adobe Ilustrator CS5 Reference: JavaScript".
    there example to open a PDF to a designated page does not work for me in Illustrator CS 5.
    // Opens a PDF file with specified options
    var pdfOptions = app.preferences.PDFFileOptions;
    pdfOptions.pDFCropToBox = PDFBoxType.PDFBOUNDINGBOX;
    pdfOptions.pageToOpen = 2;
    // Open a file using these preferences
    var fileRef = filePath;
    if (fileRef != null) {
    var docRef = open(fileRef, DocumentColorSpace.RGB);
    if anyone can get me on the right path it would be appreciated.

    Hi DuanesSFK,
    you can open a PDF page on this way (tested with CS3 and 5):
    //OpenPDFpage2.jsx
    var uILevel = userInteractionLevel; 
    app.userInteractionLevel = UserInteractionLevel.DONTDISPLAYALERTS;
    // Opens a PDF file with specified options
    var pdfOptions = app.preferences.PDFFileOptions;
    pdfOptions.pDFCropToBox = PDFBoxType.PDFBOUNDINGBOX;
    pdfOptions.pageToOpen = 2;
    // Open a file using these preferences
    //var fileRef = filePath;
    var fileRef = File("~/Desktop/YourOwn.pdf");
    if (fileRef != null) {
    var docRef = open(fileRef, DocumentColorSpace.RGB);
    app.userInteractionLevel = uILevel;
    To open all pages you have to loop through all pages etc.
    Easier for you:
    Search here in forum for the "open pdf" script  (I don't know the exactly name, it was written by CarlosCanto, ) This should always work for you.
    Have fun

  • I converted from a PC to a Mac Mini.  I have my PC documents backed up on a DVD disk.  I have an external DVD drive connected to the Mac Mini.  I want to open them up and save them to the Mac, BUT....when I put the DVD disk in the Mac is NOT reading it!

    I converted from a PC to a Mac Mini.  I have my PC documents backed up on a DVD disk.  I have an external DVD drive connected to the Mac Mini.  I want to open these documents up from the DVD storage and save them to the Mac, BUT....when I put the DVD disk in the Mac is NOT reading it!

    Hi Joe,
    Thanks for your quick response.  I should add....it worked before.  When I previously inserted the two DVDs into this remote drive, and I went into finder, I could click on the "remote device" line and see all my saved documents (excel, word, etc) on the DVD and open them on the Mac.  Now I cannot see them, when I try to open them on the Mac, nothing happens, nothing is displayed.  I just re-tested the remote DVD drive with a CD and, no problem, it opened up the CD via iTunes and I cold play the CD.  SO......I know the remote DVD drive (it's an LG by the way) is fine, it's something to do with some settings on my mini mac,especially where I could open it previously.  I do not remember changing any settings since then. 
    When I go into system preferences and click on CD/DVD it gives me options of how to open up a music CD (default is iTunes), a DVD (default is iMovie), etc.  The problem is my DVD is all miscellaneious files/documents.  I just want to be able to see them in the finder.  I also tried to open them via microsoft word, from the remote disk and again, it could not open the drive, even though some of the documents were microsoft word documents.  Again, I was able to open them previously and the DVD is not corrupted in any way.  
    Any additional advice? 
    Thank you!

  • How to open document to PDF from ALV

    Hi ,
      how to open document to PDF from ALV on clicking (hot spot)
    urgent
    thanks,

    something like this:
    line_fieldcat-fieldname = 'vbeln'.
    line_fieldcat-ref_tabname = 'I_vbeln'.
    line_fieldcat-hotspot = 'X'. " Shows the field as ahotspot.
    line_fieldcat-seltext_m = 'Notification '.
    APPEND line_fieldcat TO i_fieldcat.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
    i_callback_program = ws_repid
    i_callback_user_command = 'MY_USER_COMMAND'
    and rest of parameters,
    FORM MY_USER_COMMAND USING ucomm LIKE sy-ucomm
    selfield TYPE slis_selfield.
    IF ucomm = '(Function code of action, say click, or enter'
    CASE selfield-fieldname.
    WHEN 'QMNUM'. "Notification
    IF i_tab-qmnum NE space.
       CALL FUNCTION 'WS_EXECUTE'
          EXPORTING
            commandline = '/F /IM "ACRORD32.EXE"'
            program     = 'TASKKILL'.
    ENDIF.

  • Open file in excel from labview

    I need a way to open an existing Excel file, that may or may not be open already.  I am using the attached "Open Specific WorkBook.vi" from the examples.  My LabVIEW program must be able to either open a specifc Excel workbook and worksheet even if it is already open.  Is this even possible, or would it be better to close it (if open), the open it again?
    Attachments:
    Open Specific WorkBook.vi ‏37 KB

    As you probably know, nothing "bad" happens when you open Excel if it's already open, it just doesn't come to the front of your LabVIIEW ap. To get it to the front, Minimize the Excel window then immediately Maximize it (or Normalize it) programmatically with a PN.  I have tried many of the other methods (but not all of them) to no avail, this works for me. There may be a more elegant solution.
    There are other known methods to bring an ap to the front, with callbacks etc, but they can be clunky, or require Userlib32, etc. Since this property node already exists in your ap, it's comes at little expense.
    Of course, you may want to check that the ap was open before you do this, but even that is optional, at the expense of a little flashing on the screen.
    Richard
    Attachments:
    windowState.gif ‏4 KB

  • I had a trial version of Pages for 30 days and then purchased the actual software without removing the trial. Now when I try to edit documents and save them it wont because it tells me I am using a trial version.... How can I remove the trial version?

    I had a trial version of Pages for 30 days and then purchased the actual software without removing the trial. Now when I try to edit documents and save them it sometimes wont because it tells me I am using a trial version.... But sometimes it lets me!! How can I remove the trial version? I cannot tell which one I am using when I open it....

    Question asked and answered quite once a week.
    Go to my iDisk (address below)
    and download :
    For_iWork:iWork '09:uninstall iWork '09.zip
    Run it then reinstall the purchased software.
    Yvan KOENIG (VALLAURIS, France)  vendredi 2 janvier 2011 16:21:41
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please :
    Search for questions similar to your own
    before submitting them to the community

  • I have apps that I downloaded from a friends computer and some from my own. When I try to sync them to my computer it will only sync my apps and save them. Is there something I am overlooking to get all of them to sync and save.

    I have apps that I downloaded from a friends computer and some from my own to my ipod.When I try to sync them to my computer it will only sync my apps and save them. Is there something I am overlooking to get all of them to sync and save

    Your friends Apps are not your Apps... If you want those Apps you will need to Purchase them.

  • I have old video clips in Photoshop Elements Organizer v12 for Mac.  I want to divide some of those clips in Organizer.  I can do that in Premiere Elements 12 and save them as "Projects" - but how do I get the divided clips back into Organizer?

    I have old video clips in Photoshop Elements Organizer v12 for Mac.  I want to divide some of those single clips into 2 or 3 separate clips, each shown separately in Organizer.  I can divide the clips in Premiere Elements Editor 12 and save them as "Projects" - but I can't find any way to get those divided clips back into Organizer.  Does anyone know whether that can be done?  Many thanks for your thoughts.

    What about Google Drive? And just share the folder with the family members.
    Erick

  • When i updated my iPhoto on my macbook my whole computer lost photos, music, documents ect, how do i fix this and get them all back?

    when i updated my iPhoto on my macbook my whole computer lost photos, music, documents ect, how do i fix this and get them all back?

    Which os do you have?  Which version of iPhoto did you update to?  Did you check iPhoto's trash?  Finder's trash?  Did you repair permissions and restart your computer after updating?
    Data recovery utilities - "Data Rescue II"
    VirtualLab™ Data Recovery
    DriveSavers Data Recovery
    http://www.stellarinfo.com
    FileSalvage

  • When I open a new windows from my current tab background turns black. Can this be disabled?

    I use Remedy and when I open a new windows from my current one my background turns black. This started when I moved to the new update. Is there anyway to disable this?

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • Why does my iPad 1 not open documents in pages from my mac after downloading update on pages on mac?

    Why does my iPad 1 not open documents from my updated mac-pro laptop pages since i updated the mac. Have updated latest pages for iPad 1 it could and still not able to open docs as i could before update on mac-pro

    The most recent version of Pages that you can run on the iPad 1, running iOS 5.1.1, is not compaible with the newest version of pages on the Mac.
    If you had the old version of Pages on your Mac, and off hand I can't remember what version it was, you should still be able to use that version and then it will be compatible with the Pages app on the iPad. I updated to the newest version of Pages some time back but was able to keep the older version as well.

  • Cannot open documents originally in Word 2008 for Mac and saved in Pages 09

    I have both Word 2008 for Mac and IWork 09. Working on long and complicated documents in Word, I had a number of problems with Word so that I decided to switch to Pages. I copied my documents into Pages, and saved them in Pages. Now, when I want to open them in Pages, I get a message that Pages cannot open those documents.The message says: the "file" couldn't be opened. The required index.xml file is missing.
    Again: original Word document, properly saved into Pages. the saved Pages file cannot be opened in Pages.
    What do I do wrong?
    Thanks.

    You haven't done nything. This problem has happened for people from time to time
    Read some threads
    [http://discussions.apple.com/thread.jspa?messageID=10050371]
    [http://discussions.apple.com/thread.jspa?messageID=10509885]
    [http://discussions.apple.com/thread.jspa?messageID=9514639]
    [http://discussions.apple.com/thread.jspa?messageID=9401344]
    There are more if you do your on search in the forum.
    Try to save open and save the Word doc again in Pages. It might work better.

  • Opening Document in Work from the Sent To Email a Link instead on downloading it

    Documents send via the Sent To > Email a Link SharePoint 2010 Document Library Menu is downloading rather than opening in Word. This is happening for some users and while it is open in Word just fine for other users.
    New to SharePoint

    Hi Marlon,
    Please compare the client Office and IE browser differences of settings between them, check the following things.
    Please use the IE browser 32-bit version, also check if it is competability mode issue.
    Please add SharePoint URLs in IE browser trusted sites zone.
    Please reset the IE browser to default settings.
    Please check and make sure the "SharePoint OpenDocuments class" add-on is enabled from IE browser
    Please repair Office application with installing Office Tools->Microsoft SharePoint Foundation Support component.
    http://blogs.technet.com/b/emeaoffice/archive/2013/04/29/you-get-an-error-message-when-you-open-an-office-file-from-sharepoint-on-a-computer-on-which-you-installed-more-than-one-version-of-office.aspx
    Thanks,
    Daniel Yang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Daniel Yang
    TechNet Community Support

Maybe you are looking for

  • How can I set a right link Aggregations?

    I have a Enterprise T5220 server, running Solaris 10 that I am using as a backup server. On this server, I have a Layer 4, LACP-enabled link aggregation set up using two of the server's Gigabit NICs (e1000g2 and e1000g3) and until recently I was gett

  • BT Fon connection on Ubuntu

    I am trying to connect with BT Fon on Ubuntu 12.4. I can connect to other wireless connections listed in Network connections, and my own using my key. But the BT Fon appears to connect but my browser says serve not found. I have looked at endless Goo

  • Wrong Tax Code in Quotation

    Hi All, SAP uses condition type ( MWVS -input tax) as the basis of a calculation procedure- TAXAT, which enables integration between the  MM and FI module. Step 1: Step      Control     CType     Description   From      To 100     0     BASB     Base

  • MacBook to iPod Transfer

    I want to transfer music FROM my MacBook to my 2nd generation iPod Touch.  Is this possible, and how do you do it?

  • Why won't my drop downs menus appear in Firefox?

    The menus work great in IE 6, but will not work in Firefox.