Excel file save as PDF goes to different locations on OneDrive

Good Afternon,
I'm trying to find any help referring to Excel 2013 and OneDrive. I've got application which creating kind of report and then saving it as PDF to OneDrive location. The problem
is that application is dropping copy of PDF file to default location (see code below) but also sometimes you can find same copy in different random folders on L: drive. I'm sure there is no other code which making copy to those locations. I was wandering if
it could be a problem with connection to a server? Your help will be much appreciated. Regards
ActiveSheet.ExportAsFixedFormat Type:=xlTypePDF, Filename:= _
    "L:\WW\Business Development\ARC South\Official's Report Templates\" & ActiveSheet.Range("GL42").Value & ".pdf" _
   , Quality:=xlQualityStandard, IncludeDocProperties:=True, IgnorePrintAreas _
   :=False, OpenAfterPublish:=False

Thanks a lot for reply, I've got copies of those reports in
Official's Report Templates subfolder, but for some reason macro is dropping another copy (not always) into different location e.g. somewhere in ARC South,
outside of "Official's Report Templates" subfolder. Value in GL42 is only part of the name of the file and contains name of employee. That part seems to be fine, especially that macro is attaching that file to email from the same location (Official's
Report Templates) later. No idea where could be a problem.

Similar Messages

  • How do I save a PDF as an excel file when the PDF is horizontal. Adobe tries to rotate the page, but the data is entered in an  horizontal format.

    How do I save a PDF as an excel file when the PDF is horizontal. Adobe tries to rotate the page, but the data is entered in an  horizontal format.

    Thanks for the quick reply.  I figured out how to get the desired results by using tagging.  For anyone who may reference this post in the future, I went to "Customize" in the top right corner of Adobe, then selected "Create new tool set...", looked under "accessiblity and found the "tag" option.  Hit ok, tag is added to the toolbar.  Then I highlighted the dataset in the PDF that was relevant to the output format, then clicked "tag", saved as spreadsheet.  Sorry I can't provide more details on how tagging works or if there's a more elegant solution available, but I'm sure one's out there.

  • In Adobe Pro XI when converting an excel file to a pdf, the pdf is not retaining the page size settings.  Has anyone found a fix for this?

    In Adobe Pro XI when converting an excel file to a pdf, the pdf is not retaining the page size settings.  Has anyone found a fix for this?

    It shouldn't print each page as a separate job and
    each tab has a different name, so, even if it did, it
    ought to give the printouts the name of the tabs.
    It doesn't print each page as a separate job unless the orientation is different - that's the bug. And the name of the job is taken from the name of the window, not the name of the tabs. That's how every application works, which, I think, is why Excel allows the specific selection or the active sheets to be printed.
    Still, that does sound like a plausible explanation.
    However, even if presented with multiple prints with
    the same name, the spooler should print each one!
    The spooler does print each one - you can watch the spooler process the multiple jobs. I think, though, that they are being overwritten since all the jobs have the name of the window as the job title. And since this happens after the Save Dialog is presented, there's really nothing the application can do. To Excel, it's one job, the multiple orientations don't matter; it's just that Apple doesn't handle it correctly.
    As a workaround, you can print the selections one at a time and give them unique names and then rejoin them in one PDF file.

  • I have a word document that I have put hyperlinks in and turned into a pdf.  When I email and receiver opens in iPad the document is blank.  When I do a file save as pdf the document appears and the hyperlinks work but the document has much of the content

    I have a word document that I have put hyperlinks in and turned into a pdf.  When I email and receiver opens in iPad the document is blank.  When I do a file save as pdf the document appears and the hyperlinks work but the document has much of the content turned into symbols.  What is going wrong?

    You select the printer properties and set the appropriate page size (I think there is a place to set it in PDF Maker too, but not sure). In the printer, this is equivalent to putting the proper paper in the printer.

  • Saving an Excel File as a PDF

    Hi,
    I am desperately trying to convert a large excel file to a PDF.
    I have 26 columns and a LOT of rows.
    When I go to file in excel and then click 'save as PDF' it saves the columns on separate pieces of paper, which just makes viewing the data impossible.
    Is there anyway to get the excel workbook to save to PDF in a readable format? (such as saving it how you would select the print area ... if that makes sense?)
    Hope someone can help!
    Many Thanks!

    Office for Mac - Microsoft Answers

  • Need File-Save as-PDF as a toolbar button and one item on menu

    What I'd like to see is a single menu line item and button added for File ->Save as ->PDF.  Right now, you have to open three menus to perform this function,and there is not a toolbar button offered at all.  Every document I save in this program is in PDF format, so it is frustrating to have to perform this action every time.  There are keystroke combinations (Shift + Control + S) but I tend to use the mouse more than the keyboard.

    Here's some barebones code to add a Save As toolbar button. It goes in a folder-level JavaScript file that you have to create and install properly:
    var mySave2 = app.trustedFunction(function(doc) {
        app.beginPriv();
        var oFS = app.browseForDoc({bSave: true, cFilenameInit: doc.documentFileName, cWindowTitle: "Save As"})
        if (oFS) {
            doc.saveAs({cPath: oFS.cPath});
        app.endPriv();
    app.addToolButton(
        cName: "ToolbarSaveAs2",
        cLabel: "Save As",
        cExec: "mySave2(this);",
        cEnable: "event.rc = app.doc;"
    For more information on folder-level scripts, see: http://acrobatusers.com/tutorials/print/entering-folder-level-scripts
    and for updated info, see: http://acrobatninja.blogspot.com/2011/09/acrobat-1011-javascript-changes.html
    As Dave mentioned, in Acrobat 10 you'll have to add the new button from "Tools > Add-on Tools" to the Quick Tools toolbar by right-clicking it and selecting "Add to Quick Tools Toolbar".

  • How do I convert an Excel file into a pdf?

    how do I convert an Excel file into a pdf?

    Hi tomduffey,
    You can either use Create pdf service or Adobe Acrobat software for the purpose.
    Please refer -
    Using Create PDF service : https://www.acrobat.com/createpdf/en_GB/convert-excel-to-pdf-converter.html
    Using Adobe Acrobat : http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/products/acrobat/pdfs/adobe- acrobat-xi-create-pdf-files-tutorial-ue.pdf

  • Acrobat 9 - we are unable to merge word and excel files into a pdf.

    Acrobat 9 - we are unable to merge word and excel files into
    a pdf. Any advice?

    To be expected if you are working in a contemporary OS and contemporary MS Office suite.
    The Acrobat 9.x product family passed into End of Support mid-year of 2013.
    The product isn't compatible with contemporary OSs or Office suite.
    You may have to step up into the Acrobat XI product family.
    Be well...

  • Using Labview how can one store different data in different sheets of same excel file, I mean how to select different sheets to store data??

    Hello Everyone,
    I want to store various data but in different sheets of excel file. So how to select Different sheets of same excel file???
    Thanks so much 
    Pallavi 

    aeastet wrote:
    Why do you not want to use Active X?
    One very good reason that I can think of is that MS keeps changing their ActiveX interface with each version of Excel, so code written for one version of Excel using ActiveX may not work for another version of Excel, even though the basic functionality hasn't changed. A perfect example is when MS changed the "Value" property to "Value2". Yeah, that made a whole lot of sense.
    pals wrote:
    I dont want to use active X as i am not
    getting results... by using write to spreadsheet in am getting results
    but on just one sheet... I want different data on different sheets of
    same excel file. So....
    Can anyone help me in this...
    Then it's something you're doing. Please post your code. Have you tried a search on this forum for ActiveX and Excel? There have been tons of posts on it, including lots of examples. There's also the Excel thread.

  • Save as dialog window for excel file save ....

    hi!
    i have a jsp that displays all the report names to the clients and when clicked on the report downloads an excel file and saves to the client machine.this is accomplished by calling a servlet that sets the content type as "application/octet-stream" and setting the header as "setHeader("Content-Disposition", "attachment; filename=myExcel.xls")
    and writing the bytes to the excel file.works just perfect.
    now if you open the excel file and make changes to it and try to save it with a different name by clicking 'save as' option from file menu, the 'save as file type' by default shows "text" instead of excel worksheet.
    have you guys come across this problem anytime....
    kindly let me know you have any suggestions ..
    thanks in advance,
    /rahul

    one more point:
    the save as list box displays "myExcel.xls"(with quotes) where it should have displayed simply myExcel.

  • Using javascript to save a pdf to a different directory and generating a new filename based on form fields in the document.

    I have built the following script in an attempt to create a submit button that will automatically save the document in a different directory on my computer. It will also use the form field data "customer" and "date" to generate the filename. I printed out the variable myPath and it looks like it printed the correct string. I keep getting the following error:
    TypeError: redeclaration of const path
    any help would be much appreciated.
    var customer = this.getField("Customer").value;
    var date = this.getField("Date").value;
    var path = "C:/Users/awilliams/My Documents/Test/"
      var reg = date.match(/(\d+)\/(\d+)\/(\d+)/);
    var myPath= "C:/Users/awilliams/My Documents/Test/" + customer + "_" + reg[1] + "." + reg[2] + "." +
    reg[3] + ".pdf";
    this.saveAs(myPath);

    "path" is a keyword within a PDF you should not use keywords as a name for any other object as a general rule.
    Have you checked the PDF Reference to see how to create a file path name within a PDF,  3.10.1 File Specification Strings page 118?
    Did you carefully read the Acrobat JavaScript Reference for the saveAs method?
    The notes following the description:
    Note: This method can only be executed during a batch or console event. See Privileged versus non-privileged context for details. The event object contains a discussion of JavaScript events.
    (Adobe Reader S): This method is available in Adobe Reader for documents that have Save usage rights.
    How to Save a PDF with Acrobat JavaScript

  • How do I convert an excel file to a pdf, NOT a pdf to excel

    Until this year, I've been running OSX 10.5 Leopard. When I wanted to convert a Microsoft for Mac Excel worksheet to a pdf file, I simply clicked File/Print/PDF (in the lower left corner of the dialogue box)/then, Save as pdf. No problem, perfect pdf file. Upon upgrading to Mavericks this year, the resulting pdf file is filled with a checkerboard pattern that effectively renders the file useless if read onscreen. How can I get rid of the checkerboard?

    http://answers.microsoft.com/en-us/mac
    27" i7 iMac (Mid 2011) refurb, OS X Yo (10.10.3), Mavs, ML & SL, G4 450 MP w/10.5 & 9.2.2

  • Excel file save error: Someone else is working in file right now. Please try again later.

    When trying to save a modified Excel file, which has been opened from a network share, our users are receiving the following message:
    Someone else is working in "\\domain.com\users\username\Document.xls" right now. Please try again later.
    The clients that have been affected are Windows 7 clients, and the DFS share is being served from a Windows 2012 server. I have already confirmed that DFS replication has not been enabled, so it isn't trying to lock files for replication. I have also disabled
    any real-time scanning that is occurring on the client to make sure that the AV software wasn't locking the files. I did notice when viewing the list of Open Files from the server's Computer Management console that when a users experiences this issue the file
    appears to be opened 4 times. Three times it shows that it was opened in Read mode and the 4th instance shows an Open Mode of Write. Typically, a file which is working correctly should just show one instance with the Open Mode of Read+Write. None of these
    open instances are temporary files preceded with a ~.
    Any thoughts?

    Hi,
    Does the issue occur in other operation system? Which Office version are you using? Have you ever tried to test with word document, PPT file or txt file?
    Based on your description, the issue may be caused by the same file open multiple time in computer management on SQL server. The user probably has User Access Control (UAC) enabled on the machine and it is not letting him overwrite the existing
    copy of the file because she does not have it open in administrator mode. UAC will block overwriting (saving) the existing file without Administrative privileges and it will automatically open the save as dialog so you can save with a different name and
    if you click save without changing the name at the point, it tries to save as a new file over the existing file and it can't because the file is open.
    I recommend you check the user's permission (Which showed in Computer Management console) and end the Excel file instance in the task manager of the user's client.
    Also, we may try the workaround: Save it to local drive(like drive c:) and then copy it to DFS.
    Thanks
    George Zhao
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click "[email protected]"

  • SharePoint Library - If I save file from Excel File Save As - then I always get "File already exists. Do you want to replace it?" - Upload works fine though.

    Hi there,
    In my SP 2010 document library - When I try to save an Excel file from File > Save As menu to the document library it always prompts me "File already exists. Do you want to replace it?" even though the file does not exist in that document library.
    To the same document library - if I upload a file then it accepts it all fine.
    Any clues why I cannot save files using File > Save As menu?
    Thanks.

    Hi,
    As I understand, the notification pops up when you save an excel file to SharePoint library, while when directly upload file to library, there is no wrong.
    Please confirm if the issue occurs to other machines.
    Please open Microsoft Office Upload Center on the issue machine, then click settings, clear cache via checking Delete files from the Office Document Cache when they are closed.
    http://office.microsoft.com/en-in/excel-help/office-document-cache-settings-HA010388664.aspx
    If the issue occurs to client, I’d recommend you also ask the question in Excel forum:
    http://social.technet.microsoft.com/Forums/office/en-US/home?forum=excel
    Regards,
    Rebecca Tu
    TechNet Community Support

  • 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
    Besi

    Hello 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

Maybe you are looking for

  • To show all employees in Napesco Staff Ledger

    hi when the report Napesco staff ledger olap report is run in erp simultaneously Napesco Staff Ledger Details Report(exec file name is 'NPSTALEDDTLS') is also run Both are PL/SQL Stored Procedures when i checked the pl/sql stored procedure i found th

  • Dynamic Event Creation and Handling the events

    Hi All I am using WAS 6.4. I have two components say Component A and Component B in which Component A is a reusable component and is used by other components say for e.g the Component B. The following is the requirement. Component A should create but

  • P45 Platinum wont start up

    Hi i have a p45 platinum motherboard. For some reason the board just wont start up anymore, it was working fine. when i plug it in, the power led glows, but when i hit the power button (on the board) some if not all of the leds, glow for like one sec

  • Can no longer create custom page size for printing to PDF?

    When printing from FrameMaker to PDF in Windows, I used to be able to create a custom page size by clicking on the Add button that appeared to the right of the Adobe PDF Page Size window, in the Adobe PDF Document Properties dialog box. With Frame 9,

  • I'm retiring an old computer and loaded Acrobat 9 Pro on a new computer.

    I entered the serial number, then was prompted for the serial number for an older version.  I have no idea what version this was updated from or the serial number.  How do I proceed with the installation?