Step by Step: Create a Shortcut Key to Full Screen View in Excel 2010

When you are finished working in Microsoft Excel, sometimes the command buttons on the ribbon are not needed anymore because we have finished setting the format and complete its formulas. Well, to make the Excel view more widely, we can shrink or hide the contents of the ribbon by double click on one of the tabs on the ribbon or right-click and select Minimize the Ribbon.

Collapse this imageExpand this image

But apparently that was not enough, the Excel view need to be widely again to full screen view. Unfortunately on Microsoft Excel 2010 version, that feature is not available by default.

To outsmart it we can make it using Macro in Visual Basic Application. But before going into the coding step, so that the macro runs in any Excel file, we have to keep it in the Personal Macro Workbook.

Personal Macro Workbook is a workbook that contains the spcial Excel system named PERSONAL.XLSB. This workbook will be formed if the user create Macros by Recording, and save it in the Personal Macro Workbook.

Personal Macro Workbook is stored in a special folder, according to the user who is logged on. For example, the folder path on my computer is:

C:UsersRADDINIAppDataRoamingMicrosoftExcelXLSTARTPERSONAL.XLSB

This workbook is opened automatically when Excel starts, It’s just hidden so that it looks as if there is no open Excel files. How to display it, on the View tab Window category click Unhide then Unhide dialog box is displayed. select PERSONAL and click OK.
If you do not find the Personal Macro Workbook in the folder path or by Unhide, maybe you have never created Macros by Recording. So before you going to the next step, you have to create Macros by Recording.

Collapse this imageExpand this image

After we know what the Personal Macro Workbook and storage location, the next step is coding.

The following are the steps to coding the macro :

  1. On the Developer tab Code category select Visual Basic, so Visual Basic window is displayed.
  2. On the Project taskpane click VBAProject (PERSONAL.XLSB), then on Insert menu select Module and write the following script:

    End SubSub FScreen()

    If Not Application.DisplayFullScreen Then

    Application.DisplayFullScreen = True

    Else

    Application.WindowState = xlNormal

    Application.WindowState = xlMaximized

    End If
    End Sub

    Collapse this imageExpand this image


  3. If it is completed, close the Visual Basic window and return to Excel. On the Developer tab Code category select Macros, so Macros dialog box is displayed.
  4. Select the macro that we created earlier and then click the Options button. When you choose a character for the shortcut key make sure its not same with the default Excel shortcut key. For example I choose the key combination Ctrl + Q and then click OK.

    Collapse this imageExpand this image

  5. Now let’s try it, press Ctrl+Q on the keyboard, Excel display will change to full screen view, press Ctrl+Q again to return to the original view.

    Collapse this imageExpand this image

For more Excel solutions you can contact rahayu.raddini@gmail.com or raddini@windowslive.com

Community Solutions Content DisclaimerMICROSOFT CORPORATION AND/OR ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY, RELIABILITY, OR ACCURACY OF THE INFORMATION AND RELATED GRAPHICS CONTAINED HEREIN. ALL SUCH INFORMATION AND RELATED GRAPHICS ARE PROVIDED “AS IS” WITHOUT WARRANTY OF ANY KIND. MICROSOFT AND/OR ITS RESPECTIVE SUPPLIERS HEREBY DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THIS INFORMATION AND RELATED GRAPHICS, INCLUDING ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, WORKMANLIKE EFFORT, TITLE AND NON-INFRINGEMENT. YOU SPECIFICALLY AGREE THAT IN NO EVENT SHALL MICROSOFT AND/OR ITS SUPPLIERS BE LIABLE FOR ANY DIRECT, INDIRECT, PUNITIVE, INCIDENTAL, SPECIAL, CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF USE, DATA OR PROFITS, ARISING OUT OF OR IN ANY WAY CONNECTED WITH THE USE OF OR INABILITY TO USE THE INFORMATION AND RELATED GRAPHICS CONTAINED HEREIN, WHETHER BASED ON CONTRACT, TORT, NEGLIGENCE, STRICT LIABILITY OR OTHERWISE, EVEN IF MICROSOFT OR ANY OF ITS SUPPLIERS HAS BEEN ADVISED OF THE POSSIBILITY OF DAMAGES.

Article ID: 2779060 – Last Review: October 31, 2012 – Revision: 1.1


Applies to
  • Microsoft Excel 2010
  • Microsoft Office Excel 2007
  • Microsoft Office Excel 2003

Original post:
Step by Step: Create a Shortcut Key to Full Screen View in Excel 2010

Comments are closed.

Recent Comments

    Archives

    Categories