+ Reply to Thread
Results 1 to 4 of 4

Export As A Fixed Format Excel 2007

  1. #1
    Registered User
    Join Date
    01-07-2014
    Location
    Chicago
    MS-Off Ver
    Excel 2010
    Posts
    2

    Export As A Fixed Format Excel 2007

    I have been assigned the task of developing a excel document that whole office will use. The user will click a button and the macro will export the file as a PDF to a shared folder. I wrote this code and tested this code using excel 2010. People that have excel 2007 where getting an error message saying "Run Time Error 1004 Document not saved. This document may be open, or an error may have been encountered when saving." I looked into the problem a little bit and found that excel 2007 needed an add-in update, so I installed it on their computers. I also checked to see if they have adobe on their computers and they do. They are still having the problem and I am unsure of what to do. Any help would be greatly appreciated!

    Here is my code

    Please Login or Register  to view this content.

  2. #2
    Forum Contributor
    Join Date
    07-26-2012
    Location
    USA
    MS-Off Ver
    Excel 2007 & 2010
    Posts
    351

    Re: Export As A Fixed Format Excel 2007

    Please Login or Register  to view this content.
    Does this do anything for you? I notice you're using a date in the filename. Your date doesn't contain any invalid filename characters does it? For example, 1/1/2014 will not work because / is an invalid filename character

  3. #3
    Registered User
    Join Date
    01-07-2014
    Location
    Chicago
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Export As A Fixed Format Excel 2007

    Hello and thank you for your help,

    No unfortunately this code did not work. I know that the date is not the problem it worked before I added the ExportAsAFixedFormat

  4. #4
    Forum Contributor
    Join Date
    07-26-2012
    Location
    USA
    MS-Off Ver
    Excel 2007 & 2010
    Posts
    351

    Re: Export As A Fixed Format Excel 2007

    You're sure the file isn't already open? How about permission issues? I've seen this before when a user was trying to replace a file that another user created. We had permissions set up to not allow this so the code would error every time someone tried to replace a file someone else created

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Export as Fixed Format macro not getting existing file prompt
    By httdy1 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-24-2009, 04:03 PM
  2. [SOLVED] Excel 2007 : Fixed sidebar in Office 2007?
    By bugmenot in forum Excel General
    Replies: 7
    Last Post: 10-08-2008, 03:23 PM
  3. [SOLVED] how do I export a worksheet as a fixed format ascii file
    By SVANATTA65 in forum Excel General
    Replies: 2
    Last Post: 06-16-2005, 07:05 PM
  4. [SOLVED] VBA to export Fixed Len ASCII from Excel ?
    By tmb in forum Excel General
    Replies: 1
    Last Post: 03-23-2005, 11:06 AM
  5. [SOLVED] How do I display leading zeros so I can export a fixed in Excel?
    By World Referee and accountant in forum Excel General
    Replies: 2
    Last Post: 01-03-2005, 01:23 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1