+ Reply to Thread
Results 1 to 2 of 2

ExportAsFixedFormat Invalid Procedure Call

Hybrid View

  1. #1
    Registered User
    Join Date
    07-18-2014
    Location
    carbondale, il
    MS-Off Ver
    2013
    Posts
    4

    ExportAsFixedFormat Invalid Procedure Call

    Hi.

    My PC recently crashed and thus my Excel 2007 was reinstalled. My code below used to work, but now I am receiving Invalid procedure call or argument message. Tried exactly the same exact code to a co-worker's pc and it works fine. Is there any particular setup or configuration in excel to make this work? Thanks for the help. Harold

    Sub test()
    
        ActiveSheet.ExportAsFixedFormat _
          Type:=xlTypePDF, _
          Filename:="f:\x.pdf", _
          Quality:=xlQualityStandard, _
          IncludeDocProperties:=True, _
          IgnorePrintAreas:=False, _
          OpenAfterPublish:=True
    
    End Sub

  2. #2
    Valued Forum Contributor ranman256's Avatar
    Join Date
    07-29-2012
    Location
    Kentucky
    MS-Off Ver
    Excel 2003
    Posts
    1,190

    Re: ExportAsFixedFormat Invalid Procedure Call

    The ExportAsFixedFormat parameters may have changed.

    in the code, type a new line
    ActiveSheet.ExportAsFixedFormat (space)

    once you type the space bar, it should show the parameter list for YOUR version of XL.
    (if not, select the Export and click F1 help)

+ 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. Invalid Call procedure or arguement
    By dantray02 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-29-2014, 12:46 PM
  2. Invalid Procedure Call or Argument?
    By aloha31 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-19-2013, 08:24 PM
  3. Invalid Procedure Call (Mid fxn)
    By za20001 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-26-2011, 08:20 AM
  4. Invalid procedure call or argument
    By krish T in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-31-2010, 10:01 AM
  5. Invalid procedure call (CommandBars)
    By Rick_Stanich in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-13-2009, 11:06 AM
  6. Invalid procedure call or argument
    By mqdias in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 11-08-2007, 06:01 AM
  7. Invalid Procedure call or argument
    By T De Villiers in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-25-2006, 10:05 AM

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