+ Reply to Thread
Results 1 to 8 of 8

Excel 2007 : Attach toolbar settings to particular Excel file?

Hybrid View

  1. #1
    Forum Contributor NewYears1978's Avatar
    Join Date
    03-15-2010
    Location
    Forney, TX
    MS-Off Ver
    Excel 2016
    Posts
    962

    Attach toolbar settings to particular Excel file?

    I'm wondering if there is a way to turn off options in the toolbar and layout such as hiding the Column lines, turning off certain bars, etc..and then have this attached to a certain workbook only..

    So that when that workbook is open all of those toolbar settings are used, but then when other excel files are opened it reverts back to the default toolbars..

    Thanks in advance.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Attach toolbar settings to particular Excel file?

    There is,but it's not recommended because if Excel crashes then your user's settings willbe messed up. Result,one unhappy user
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Contributor NewYears1978's Avatar
    Join Date
    03-15-2010
    Location
    Forney, TX
    MS-Off Ver
    Excel 2016
    Posts
    962

    Re: Attach toolbar settings to particular Excel file?

    What causes a crash?

    Im the only one using the files..I just hate having to turn my toolbars on and off and change them based on what I am doing..but I guess it might be the best thing to do if it crashes.

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Attach toolbar settings to particular Excel file?

    Anything can cause a crash, I personally have my ToolBars set up as I want & maintain them that way.

    What is you want to change?

    Are you actually using Excel 2007? If you are then there are no Toolbars to alter. If not you've posted in the wrong Forum

  5. #5
    Forum Contributor NewYears1978's Avatar
    Join Date
    03-15-2010
    Location
    Forney, TX
    MS-Off Ver
    Excel 2016
    Posts
    962

    Re: Attach toolbar settings to particular Excel file?

    I might have been confusing with my question..and yes I am using Excel 2007

    I'm referring to options such as turning off the gridlines, or hiding the toolbar altogether, etc.

    Some documents I want some options to show.

    To simplify just say I had two documents that I use, one I want gridlines the other I don't..is there a way to make each document save the settings I change (gridlines showing) in each..or is this cross all excel only.

    This is a rather simple example but it better explains what I meant, I think.

  6. #6
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,450

    Re: Attach toolbar settings to particular Excel file?

    Depending on exactly what you want to do you maybe able to use vba code.

    If you place this in your file it will turn gridlines off for that file.

    Private Sub Workbook_Open()
        
        With Application.CommandBars
            If .GetPressedMso("ViewGridlinesToggleExcel") Then
                .ExecuteMso "ViewGridlinesToggleExcel"
            End If
        End With
    
    End Sub
    Or you may need to use Ribbonx xml to fully control the ribbon.
    Cheers
    Andy
    www.andypope.info

  7. #7
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,320

    Re: Attach toolbar settings to particular Excel file?

    The gridlines settings is specific to each sheet in a workbook and is saved with that workbook.
    Everyone who confuses correlation and causation ends up dead.

  8. #8
    Forum Contributor NewYears1978's Avatar
    Join Date
    03-15-2010
    Location
    Forney, TX
    MS-Off Ver
    Excel 2016
    Posts
    962

    Re: Attach toolbar settings to particular Excel file?

    Quote Originally Posted by romperstomper View Post
    The gridlines settings is specific to each sheet in a workbook and is saved with that workbook.
    Wow I could have swore I tried that, but I guess I didn't because you are correct.

    Thanks all for the help.

+ 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