+ Reply to Thread
Results 1 to 5 of 5

Folder option setting

  1. #1
    Registered User
    Join Date
    04-08-2012
    Location
    Sydney
    MS-Off Ver
    Excel 2007
    Posts
    31

    Folder option setting

    hi

    There is the following folder option(under folder options dialogbox) that is checked on some machines and on some machines it is not.

    Hide extension for known file types

    This is giving me grief because it is breaking code for some users when Vba does a workbook open on their machines


    Is there a vba code that sets the folder option to checked for a number of folders and sub folders.

  2. #2
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: Folder option setting

    This might interest you.
    http://www.cpearson.com/excel/fileextensions.aspx
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

  3. #3
    Registered User
    Join Date
    04-08-2012
    Location
    Sydney
    MS-Off Ver
    Excel 2007
    Posts
    31

    Re: Folder option setting

    The code in that link doesn’t specify how to change the folder setting. I can use it to determine what the setting is. And it asks to use captions which I can’t use

  4. #4
    Forum Expert Roel Jongman's Avatar
    Join Date
    03-28-2015
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    1,483

    Re: Folder option setting

    You need to be a bit more creative.. you cannot control windows folderoptions but you can control how you code to open a workbook. So if the frontdoor is locked use the back door. Do not try to change the foldersetting, just detect the folder setting and for the setting that now is failing build a workaround to open the file without the extention.

  5. #5
    Registered User
    Join Date
    04-08-2012
    Location
    Sydney
    MS-Off Ver
    Excel 2007
    Posts
    31

    Re: Folder option setting

    Thanks. That does make sense. I am going to try that out

+ 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. Improvement - Option To Nest Folders as Sub Folder Under a Main Folder / Heading
    By :) Sixthsense :) in forum Suggestions for Improvement
    Replies: 4
    Last Post: 01-28-2013, 07:09 AM
  2. Option setting mysteriously changes
    By DanBlum in forum Excel General
    Replies: 2
    Last Post: 07-08-2011, 03:29 AM
  3. setting option button values via python
    By ameliiie in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-24-2011, 04:23 AM
  4. Setting up a print menu option button
    By cycle_simon in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-16-2007, 04:32 PM
  5. Setting a path to a folder
    By Boots in forum Excel General
    Replies: 2
    Last Post: 08-10-2006, 09:20 AM
  6. [SOLVED] Setting an option control
    By Patrick Simonds in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-03-2006, 10:30 PM
  7. Formula problem - Incorrect Option Setting?
    By carlboone in forum Excel General
    Replies: 3
    Last Post: 01-27-2006, 11:30 AM
  8. Setting an Essbase Option using code
    By Nigel in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-29-2005, 01:35 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