+ Reply to Thread
Results 1 to 12 of 12

Cannot edit macro in hidden workbook

  1. #1
    Registered User
    Join Date
    02-09-2007
    Posts
    12

    Question Cannot edit macro in hidden workbook

    Using: Excel 2007

    When I try to delete old, unused macros, i get the following error message:
    "Cannot edit a macro on a hidden workbook. Unhide the workbook using the Unhide command".

    Sounds simple. But I can't find where the unhide command for the workbook is.

    Does anyone have any suggestions?

    thank you,
    Falala

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    22,904
    Hello debspecs,

    These macros are probably in your Personal.xlsb workbook. This workbook is hidden when you open a standard workbook. You can locate this workbook in the following directory: C:\Users\<username>\AppData\Roaming\Microsoft\Excel\XLSTART

    Sincerely,
    Leith Ross

  3. #3
    Registered User
    Join Date
    02-09-2007
    Posts
    12

    Thank you.

    I'm first reading this reply now. thank you for your quick response, and I will take your advice.

  4. #4
    Registered User
    Join Date
    11-26-2008
    Location
    New England
    MS-Off Ver
    2007
    Posts
    35

    Question [SOLVED]...and what can I do to change it to let me edit & delete?

    I found the file (PERSONAL.XLSB) and checked the properties.

    "Read Only" and "Hidden" are not checked. I still can't edit my macros.

    Ted
    (using word 2007)
    Last edited by TedH; 12-11-2008 at 09:31 AM.

  5. #5
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,205
    You need to unhide the personal.xlsb

    On the View tab, in the Window group, click Hide.

    Edit the macros, then hide the workbook
    Hope that helps.

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

    Free DataBaseForm example

  6. #6
    Registered User
    Join Date
    11-26-2008
    Location
    New England
    MS-Off Ver
    2007
    Posts
    35

    got it~ thanks<EOM>

    got it~ thanks

  7. #7
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,205
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

  8. #8
    Registered User
    Join Date
    02-23-2012
    Location
    Texas, US
    MS-Off Ver
    Excel 2007
    Posts
    1

    Re: Cannot edit macro in hidden workbook

    This is really help. Work great. Thanks

  9. #9
    Registered User
    Join Date
    02-29-2012
    Location
    St. Johns, Arizona
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Cannot edit macro in hidden workbook

    Thank you for the great answers! This post has saved me a lot of time. I was just about ready to trash the workbook (but I have learned to save a master copy before making major changes) when I came across this. I get into trouble playing around with new things sometimes!

    --Bambi
    Last edited by GirlGeek123; 02-29-2012 at 09:58 AM. Reason: typo

  10. #10
    Registered User
    Join Date
    10-25-2012
    Location
    North East NJ
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Cannot edit macro in hidden workbook

    This saved my butt too, thanks.

  11. #11
    Registered User
    Join Date
    10-29-2017
    Location
    Iran, Tehran
    MS-Off Ver
    2016
    Posts
    1

    Smile Re: Cannot edit macro in hidden workbook

    Quote Originally Posted by royUK View Post
    You need to unhide the personal.xlsb

    On the View tab, in the Window group, click Hide.

    Edit the macros, then hide the workbook
    Thank you. very usefull!!

  12. #12
    Registered User
    Join Date
    02-12-2013
    Location
    Medellín, Colombia
    MS-Off Ver
    Excel 2010
    Posts
    1

    Re: Cannot edit macro in hidden workbook

    Count me in as saved by this as well. Thanks a lot.

+ 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