+ Reply to Thread
Results 1 to 8 of 8

How to delete personal (.xls)

  1. #1
    Registered User
    Join Date
    09-03-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    18

    Smile How to delete personal (.xls)

    Hi

    I have been working from help pages to try and learn and have added a personal(.xls) to my version of excel. Unfortunately I have saved some lines of code (as in the attachment screenshot) that appear to be interfering with the code that I have in some other workbooks. I cannot find a way of deleting this code or how to delete the personal(.xls) part of the VBA editor. Can anyone help?

    Thanks
    Attached Files Attached Files
    Last edited by JoProvis; 01-05-2010 at 08:08 AM.

  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: How to delete personal (.xls)

    The easiest way is to use the Windows menu in Excel -> Unhide. Select Personal.xls to unhide it. You can now access the code through the VB EDitor to edit or delete it.

    When you have finished use the same method to hide Personal.xls
    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 Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: How to delete personal (.xls)

    what happens if you just select the code in the Personal.xls worksheet module and hit the delete key?

    You can also locate the personal.xls on your hard drive and delete it, if there's nothing worth keeping in it.

    In any case, the two subs should not be the reason for any interference, because the Book1 sub is in the Workbook module and the personal.xls sub is in the Worksheet module ....

    Have you checked the Workbook module for the personal.xls?

  4. #4
    Registered User
    Join Date
    09-03-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    18

    Re: How to delete personal (.xls)

    Hi Roy

    Thank you for your very quick response - I have tried that, but these lines will not delete. I have tried inserting a new worksheet and deleting worksheet 1, but the code that was on worksheet 1 is now on worksheet 2. I am stumped as I have deleted code that I wanted to keep before now!

    It would be great if I could just get rid if it altogether and start again

    regards

    Jo

  5. #5
    Registered User
    Join Date
    09-03-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    18

    Re: How to delete personal (.xls)

    Hi Teylyn

    I have tried deleting the code by highlighting and hitting the delete key, all that happens is that it goes from "workbook" to "general" and the code remains in the workbook section. the same for the worksheet does the exact same thing.

    regards

    Jo

  6. #6
    Valued Forum Contributor Richard Schollar's Avatar
    Join Date
    05-23-2006
    Location
    Hampshire UK
    MS-Off Ver
    Excel 2002
    Posts
    1,264

    Re: How to delete personal (.xls)

    Those lines you posted in the Word.doc will automatically appear in any sheet module (slightly different ones for the ThisWorkbook module) where you use the upper left dropdown in the module itself to select either Worksheet (or Workbook in the case of the ThisWorkbook module). It shouldn't cause you any problems.
    Richard Schollar
    Microsoft MVP - Excel

  7. #7
    Registered User
    Join Date
    09-03-2009
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    18

    Re: How to delete personal (.xls)

    Thank you all for your help. I have now managed to delete this and everything is working as normal again.

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

    Re: How to delete personal (.xls)

    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

+ 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