+ Reply to Thread
Results 1 to 3 of 3

FileFormatNum questions

  1. #1
    Valued Forum Contributor WasWodge's Avatar
    Join Date
    08-02-2010
    Location
    Hampshire,England
    MS-Off Ver
    Office 365 and Office 2010
    Posts
    883

    FileFormatNum questions

    I have just started looking at code saving in vba and I am sure this will seem like a stupid question to a lot of you out there. After reading a response from Jerry Beaucaire to a saving question in a previous post and then reading some bits from Ron de Bruin can someone explain a bit clearer the difference between ".xls": FileFormatNum = 56 and ".xls": FileFormatNum = -4143.

    I get the impression that you can only use 56 in 2007 upwards but if this is the case why would you use it instead of -4143 as this appears more flexible at first sight?

    I am asking the question because at work there are various machines running from Excel 2000 to 2007 and I would like to know what is safe to run on all the pc's and if it is a program that we are only going to use on a 2007 machine are there any huge benefits to using certain coding?

    Oa secondary note, is there anywhere where there is a comprehensive list of all the various codes and what version they are compaible with?
    Last edited by WasWodge; 11-29-2010 at 07:08 PM.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: FileFormatNum questions

    Hello paul555555,

    Here is link to Microsoft that covers the file formats through Excel 2007

    Excel File Format Constants
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Valued Forum Contributor WasWodge's Avatar
    Join Date
    08-02-2010
    Location
    Hampshire,England
    MS-Off Ver
    Office 365 and Office 2010
    Posts
    883

    Re: FileFormatNum questions

    Thanks for the link Leith, at least I have the various codes for any options I choose especially when I writing for multiple users at work. Now to read up a bit more on each one.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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