+ Reply to Thread
Results 1 to 3 of 3

Force file to be opened in Excel 2010

  1. #1
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,821

    Force file to be opened in Excel 2010

    I currently have both Excel 2010 and Excel 2013 installed on my computer. I have a macro that opens four Excel workbooks. Is there any code that I can include in the macro to force the four files to be opened in Excel 2010 and not in Excel 2013? Also posted at this link: http://www.mrexcel.com/forum/excel-q...el-2010-a.html
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  2. #2
    Valued Forum Contributor Neil_'s Avatar
    Join Date
    04-19-2013
    Location
    Yorkshire
    MS-Off Ver
    Office 365 Enterprise E3 2013 / 2016
    Posts
    479

    Re: Force file to be opened in Excel 2010

    Set XL2010 = CreateObject("excel.application.14")
    XL2010.Workbooks.Open "C:/test.xlsx"
    XL2010.Visible = True
    Frob first, tweak later

  3. #3
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,821

    Re: Force file to be opened in Excel 2010

    Much appreciated. Worked like a charm.

+ 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. Excel 2010 crashes after 2nd file is opened as read only and then closed
    By tv69 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-22-2014, 03:53 PM
  2. Replies: 4
    Last Post: 01-10-2013, 06:08 PM
  3. How to set a Global Macros so that it gets opened every time an excel file is opened?
    By pericopericone in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-09-2013, 05:53 AM
  4. Excel 2010 - Force to save as .xlsm file
    By kaseyleigh in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-23-2012, 10:18 AM
  5. Force a text box to not move in excel 2010
    By ndjustin20 in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 09-16-2011, 07:13 PM
  6. Force a text box to not move in excel 2010
    By ndjustin20 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-09-2011, 05:13 PM
  7. stop excel file opened as read only if already opened by another u
    By bobm in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-09-2011, 08:45 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