+ Reply to Thread
Results 1 to 9 of 9

Changing Application.DisplayFormulaBar prevents cell edits

  1. #1
    Registered User
    Join Date
    06-12-2014
    Posts
    42

    Changing Application.DisplayFormulaBar prevents cell edits

    In my Excel application, I hide the FormulaBar (and ribbon, status bar, headings, scroll bar, etc.) using the following statement on Workbook Activate event:
    Please Login or Register  to view this content.
    Of course, I also have the opposite statement on the Workbook Deactivate event.

    When I open the workbook, the formula bar hidden (which is good) but I now can't make any edits to cells!!!???

    I can click on the cell and navigate from one cell to another using the keyboard or mouse and can even copy the values from the cells (and paste elsewhere) but I can't edit anything.
    Clicking on the keyboard doesn't do anything, which is odd because the cells are not locked or anything.

    The problem goes away when I make the formula bar visible again by manually checking the box under Excel options.
    If I do this once, everything works fine again irrespective of whether the formula bar is visible or not.

    Please help!
    PS: The irony is I posted yesterday asking how I can achieve this effect (allow copy-paste without edits) for a different application and now Excel shows me it is possible, but when I don't want it and don't understand how / why it's happening. I'm almost convinced Excel is just toying with me!

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Changing Application.DisplayFormulaBar prevents cell edits

    Can you post all of your code, just changing the .displayformulabar property shouldn't restrict cell editing.

  3. #3
    Registered User
    Join Date
    06-12-2014
    Posts
    42

    Re: Changing Application.DisplayFormulaBar prevents cell edits

    Ragulduy - thank you for your response. Here's my code:
    Please Login or Register  to view this content.
    The opposite code is on the Deactivate event.

  4. #4
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Changing Application.DisplayFormulaBar prevents cell edits

    What version of excel are you using? In 2010, at least on my machine, running that macro doesn't restrict cell editing.

  5. #5
    Registered User
    Join Date
    06-12-2014
    Posts
    42

    Re: Changing Application.DisplayFormulaBar prevents cell edits

    Quote Originally Posted by ragulduy View Post
    What version of excel are you using? In 2010, at least on my machine, running that macro doesn't restrict cell editing.
    Excel 2013

  6. #6
    Registered User
    Join Date
    06-12-2014
    Posts
    42

    Re: Changing Application.DisplayFormulaBar prevents cell edits

    Quote Originally Posted by ragulduy View Post
    What version of excel are you using? In 2010, at least on my machine, running that macro doesn't restrict cell editing.
    Excel 2013

  7. #7
    Registered User
    Join Date
    06-12-2014
    Posts
    42

    Re: Changing Application.DisplayFormulaBar prevents cell edits

    I can now confirm that the issue persists on my Excel 2013 but works fine on a colleague's Excel 2010.
    Darn Microsoft!

  8. #8
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Changing Application.DisplayFormulaBar prevents cell edits

    I think, this is not related to 2013, since it needs a small adjustment in the settings

    1. Press Alt+T+O
    2. Advanced
    3. Editing Options
    4. Give a Tick Mark in Allow Editing Directly in Cells
    Last edited by :) Sixthsense :); 06-26-2014 at 07:14 AM.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  9. #9
    Registered User
    Join Date
    07-22-2014
    Location
    Riyadh, Saudi Arabia
    MS-Off Ver
    2010 & 2013
    Posts
    1

    Re: Changing Application.DisplayFormulaBar prevents cell edits

    Hi,

    I can confirm this also happens to me, I'm raising it through the Partners Technical area.

    regards
    Seán

+ 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. Worksheet freeze with Application.DisplayFormulaBar = False (Excel 2013 only)
    By StephenCrump in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-13-2014, 08:19 PM
  2. Replies: 1
    Last Post: 05-18-2012, 03:22 PM
  3. In Cell Edits
    By trader59 in forum Excel General
    Replies: 0
    Last Post: 06-01-2009, 06:49 AM
  4. Application/object defined error when changing the value in a cell
    By sungsam in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-20-2008, 08:09 AM
  5. [SOLVED] Application.DisplayFormulaBar Kills CutCopyMode
    By Ed Adamthwaite in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-26-2005, 09:05 AM

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