+ Reply to Thread
Results 1 to 4 of 4

open 2003 .xls file via 2007 version excel file

  1. #1
    Forum Contributor prabhuduraraj09's Avatar
    Join Date
    05-19-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    330

    open 2003 .xls file via 2007 version excel file

    Hi all,

    i have excel file (.xls). While i try to open via 2007 excel file i am getting below message,

    "The file you are trying to open, "monthly.xls" is in a different format than specified by the file extension. Verify that the
    file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now?"

    Yes, No, Help


    The file is not corrupted and i understand this is because of version of excel files. If i click yes , its opening fine.

    So how do i open such .xls file via Vba code, by vba code to opt Yes.

    Please do possible help

  2. #2
    Forum Moderator davesexcel's Avatar
    Join Date
    02-19-2006
    Location
    Regina
    MS-Off Ver
    MS 365
    Posts
    13,482

    Re: open 2003 .xls file via 2007 version excel file

    Did you try to 'SaveAs' 97-03 workbook?

  3. #3
    Forum Contributor prabhuduraraj09's Avatar
    Join Date
    05-19-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    330

    Re: open 2003 .xls file via 2007 version excel file

    Hi ,

    i would like to have a vba code,

    to open .xls as file without that interupting of error msg and save as the file in .xlsm

  4. #4
    Forum Contributor prabhuduraraj09's Avatar
    Join Date
    05-19-2012
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    330

    Re: open 2003 .xls file via 2007 version excel file

    Hi all,

    I found the solution for myself...........by simply using the below, its not showing any such errors.

    Anyone who read this post.......may be make me lucky enough to get reputations



    HTML Code: 

+ 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. Converting excel 2003 file ext macro file-save code to reflect excel 2007 exts
    By pmanoloff in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-20-2013, 12:17 PM
  2. Replies: 10
    Last Post: 06-07-2012, 09:17 AM
  3. VBA for excel 2003. Open file dialog box, open 2007 file xlsx, continue with code
    By rain4u in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-25-2011, 12:12 AM
  4. Error in Excel 2007 from 2003 version: saving ActiveSheet as prn file
    By plane-crazy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-03-2011, 07:26 AM
  5. open file macro 2003 updating for 2007
    By randell.graybill in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-13-2010, 12:31 AM

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