Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

default option in word and excel

Posted on 2010-11-11
9
Medium Priority
?
245 Views
Last Modified: 2012-08-13
In word, when you open the program, and click on file/open, the option in the bottom can be set to *.* all filles, and when you exit, it will keep that option the next time you open word.
Excel does not seem to keep that option. It defaults back to all kinds of excel files. Is there any way to keep th option *.* all files in Excel like you can in Word?
0
Comment
Question by:rkloster
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 37

Assisted Solution

by:TommySzalapski
TommySzalapski earned 1000 total points
ID: 34116224
It's not in the registry so I'm going to say it can't be done.
0
 
LVL 37

Expert Comment

by:TommySzalapski
ID: 34116247
MS wants you to use Word to edit html files, txt files, rtf files, etc.
Excel can open other types but is usually more specific.
This may be why it does it that way, but my guess is it's just because Office was written by more people than I have in my hometown over a period of several years and we shouldn't expect it to make sense.
0
 
LVL 3

Expert Comment

by:eagle-22
ID: 34116921
Here is a link to do something close in Excel 2007, but it does not have the *.* (all) option:

http://www.dq.winsila.com/tips-tricks/ms-office-tips/how-to-change-the-default-file-type-for-word-2007-and-excel-2007.html 
0
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
LVL 37

Expert Comment

by:TommySzalapski
ID: 34117087
That's for saving. Doesn't affect opening.
0
 
LVL 4

Accepted Solution

by:
BrainB earned 1000 total points
ID: 34156202
Here is some code that may help. You can attach it to your existing File Open toolbar button if required.
Please read the comments about file types. You may want to add other Excel types to the code.
'=============================================================================
'- ALTERNATIVE FILE OPEN METHOD STARTING WITH *.*
'- ShellExecute opens files in their native application like Windows Explorer
'- The code checks for .xls & .csv files first because otherwise another
'- instance of Excel will be opened.
'- If we did not put .txt the file would be opened in Notepad
'- Brian Baulsom November 2010
'=============================================================================
Declare Function ShellExecute Lib "shell32.dll" Alias _
    "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation _
    As String, ByVal lpFile As String, ByVal lpParameters _
    As String, ByVal lpDirectory As String, ByVal nShowCmd _
    As Long) As Long
'-----------------------------------------------------------------------------
'=============================================================================
Sub FILE_OPEN()
    Dim MyFile As String, rsp
    Dim MyFileType As String
    '-------------------------------------------------------------------------
    '- GET FILE
    MyFile = Application.GetOpenFilename("All Files (*.*), *.*")
    If MyFile = "False" Then Exit Sub
    MyFileType = UCase(Right(MyFile, 3))
    '-------------------------------------------------------------------------
    '- OPEN FILE
    '-------------------------------------------------------------------------
    '- CHECK FOR WORKBOOK ETC. (NB. Upper case)
    If MyFileType = "XLS" _
        Or MyFileType = "CSV" _
        Or MyFileType = "TXT" Then
        Workbooks.Open MyFile
    Else
        '- NOT A WORKBOOK
        rsp = ShellExecute(Application.hwnd, "open", MyFile, "", "", 1)
    End If
    '-------------------------------------------------------------------------
End Sub
'=============================================================================

Open in new window

0
 
LVL 37

Expert Comment

by:TommySzalapski
ID: 34394414
My first post of "It can't be done." is mostly accurate but BrainB's idea (http:#a34156202) to rewrite the open button to run a generic open dialog box is pretty cool and deserves some points.
0
 
LVL 24

Expert Comment

by:Tracy
ID: 34459678
This question has been classified as abandoned and is being closed as part of the Cleanup Program.  See my comment at the end of the question for more details.
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
New style of hardware planning for Microsoft Exchange server.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question