+ Reply to Thread
Results 1 to 8 of 8

workbook containing a macro that's not there

  1. #1
    Forum Contributor
    Join Date
    07-16-2004
    Location
    Illinois
    MS-Off Ver
    Office 365
    Posts
    122

    workbook containing a macro that's not there

    Hello everybody, I open a workbook and am prompted to enable or disable a macro. However when I look where the macros are located, I do not see a macro to run. How can I either delete the macro or stop the notice from appearing? Any help would be greatly appreciated.

  2. #2
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: workbook containing a macro that's not there

    This will delete all the code from the active workbook:

    Please Login or Register  to view this content.

    Dom
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

    Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.

  3. #3
    Forum Contributor
    Join Date
    07-16-2004
    Location
    Illinois
    MS-Off Ver
    Office 365
    Posts
    122

    Re: workbook containing a macro that's not there

    I copied your code and for some reason it causes the workbook I am working with to not respond. Am I doing something wrong? I am not that familiar with the visual basic editor portion of excel. Again any help would be greatly appreciated.

  4. #4
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: workbook containing a macro that's not there

    Did you do this?

    Please Login or Register  to view this content.

    Dom

  5. #5
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: workbook containing a macro that's not there

    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    07-16-2004
    Location
    Illinois
    MS-Off Ver
    Office 365
    Posts
    122

    Re: workbook containing a macro that's not there

    Thank you. I guess I didn't see that part. Everything is fine now. Thanks.

  7. #7
    Forum Contributor
    Join Date
    07-16-2004
    Location
    Illinois
    MS-Off Ver
    Office 365
    Posts
    122

    Re: workbook containing a macro that's not there

    Thanks. that really helped.

  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: workbook containing a macro that's not there

    The probable cause would be an empty module. Even without code this would force the prompt
    Hope that helps.

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

    Free DataBaseForm example

+ 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