+ Reply to Thread
Results 1 to 5 of 5

Controlling what is displayed and size of a workbook

  1. #1
    Forum Contributor jonvanwyk's Avatar
    Join Date
    06-28-2010
    Location
    Iowa, USA
    MS-Off Ver
    Excel 2010
    Posts
    452

    Exclamation Controlling what is displayed and size of a workbook

    Let us pretend for a moment that you have a form that one can fill out. This form ranges from A1 through O25. Is there any way to make it so when a user opens the excel document, it displays ONLY A1 through O25? That is to say that one would not see the toolbars, nor any whitespace outside of these cells. Even better, make it so a user would not even realize they were in an excel document if it weren't for the fact it was excel that opened it?

    I have attached an edited screenshot to reflect the desired look.Thank you in advance for leading me in the right direction!
    Attached Images Attached Images
    Last edited by jonvanwyk; 12-07-2010 at 01:23 AM.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,499

    Re: Controlling what is displayed and size of a workbook

    I suggest that you search this forum for "hiding ribbon". You should find several postings relating to this but, in particular, look for posts from Andy Pope.

    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Contributor jonvanwyk's Avatar
    Join Date
    06-28-2010
    Location
    Iowa, USA
    MS-Off Ver
    Excel 2010
    Posts
    452

    Re: Controlling what is displayed and size of a workbook

    Quote Originally Posted by TMShucks View Post
    I suggest that you search this forum for "hiding ribbon". You should find several postings relating to this but, in particular, look for posts from Andy Pope.

    Regards
    Thank you for pointing me in the right direction

  4. #4
    Forum Contributor jonvanwyk's Avatar
    Join Date
    06-28-2010
    Location
    Iowa, USA
    MS-Off Ver
    Excel 2010
    Posts
    452

    Re: Controlling what is displayed and size of a workbook

    Quote Originally Posted by TMShucks View Post
    I suggest that you search this forum for "hiding ribbon". You should find several postings relating to this but, in particular, look for posts from Andy Pope.

    Regards
    I have found a thread that should work, but it is not working.

    Please Login or Register  to view this content.
    I found the above code in the following thread:

    http://www.excelforum.com/excel-2007...07-ribbon.html

    Attached to this post is a screenshot of how I inserted this VBA code. I am still fairly new to VBA, so perhaps I performed the task incorrectly. Thank you in advance for any further help you are able to offer.
    Attached Images Attached Images

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,499

    Re: Controlling what is displayed and size of a workbook

    I think you need to insert a standard module and put your code in there.

    Alt-F11; (Menu) Insert | (select) Module | Paste the code

    Regards

+ 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