+ Reply to Thread
Results 1 to 3 of 3

VBA to save as ".xlsb" failed

  1. #1
    Forum Contributor
    Join Date
    04-23-2013
    Location
    India
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    227

    VBA to save as ".xlsb" failed

    Hello,

    I'm getting an error in my code when trying to save as my worksheeet as ".xlsb", I'm using the below code

    The error was:

    " This extension can be used with the selected file type. Change the file extension in the File name text box or select a different file type by changing the Save as type. "

    Please Login or Register  to view this content.
    Any advise please?

  2. #2
    Forum Contributor
    Join Date
    04-23-2013
    Location
    India
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    227

    Re: VBA to save as ".xlsb" failed

    any advise here please?

  3. #3
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: VBA to save as ".xlsb" failed

    Hi, siobeh,

    assuming that the path and the variables are correctly filled with values:
    Please Login or Register  to view this content.
    I would expect to see the specification of the drive prior to the path of the folder...

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

+ 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. Method "Add" of object "ChartObjects" failed
    By praftery in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-25-2016, 06:45 AM
  2. Method "AddPicture" of object "InlineShapes" failed - but only one 1 computer
    By Alves76 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-20-2013, 10:49 AM
  3. Run time error 1004 method save as of object 1 "_workbook" failed.
    By json_79 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-09-2012, 02:41 AM
  4. "The "sheets" method from the "_Global" object have failed."
    By mankit87 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-08-2011, 08:53 AM
  5. What is Error "Method "Paste" of object "_Worksheet" failed?
    By vat in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-17-2006, 04:10 PM

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