+ Reply to Thread
Results 1 to 16 of 16

Excel 4.0 Macro

  1. #1
    Registered User
    Join Date
    08-29-2006
    Posts
    62

    Arrow Excel 4.0 Macro

    I use an 8 mg workbook in Excel 2003. I have always gotten the "Security Warning Box" that says "C:\Documents and Settings....contains macros. Macros may contain viruses....", and then three choices to enable, disable or more info. Recently I began getting a second error message "This workbook contains 1 or more Microsoft Excel 4.0 macros. These macros may contain......", and have to again, enable. I would like to get rid of the second message. I have tried opening the workbook, deleting all of the macros, saving it under another name and closing it. But when I re-open it I still get the error message about Excel 4.0 macros. I don't know where to find these. Can anyone help?

  2. #2
    Registered User
    Join Date
    02-19-2008
    Posts
    4

    Questions

    What O/S are you running? To which level have you set security?

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    The macro could be on a hidden sheet, or could be used in a named formula.

    To check for the former, open the VBE and see if there are any sheets that don't show up with tabs in the workbook (Hidden or VeryHidden).

    For the latter, do Insert > Name > Define, and look at all the names.
    Last edited by shg; 02-19-2008 at 04:13 PM.

  4. #4
    Registered User
    Join Date
    08-29-2006
    Posts
    62

    Excel 4.0 Macro

    Quote Originally Posted by floydbird
    What O/S are you running? To which level have you set security?

    I have it on the Medium setting

  5. #5
    Registered User
    Join Date
    08-29-2006
    Posts
    62
    Quote Originally Posted by shg
    The macro could be on a hidden sheet, or could be used in a named formula.

    To check for the former, open the VBE and see if there are any sheets that don't show up with tabs in the workbook (Hidden or VeryHidden).

    For the latter, do Insert > Name > Define, and look at all the names.
    I have un-hidden all of the sheets, and there are no macros show up that were not there before. What is a VeryHidden Sheet?

    Also, there is only one "Name" that shows up, and that is for a conditional formatting I created recently (in Excel 2003).

    Any other suggestions? I am at a loss.

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    VeryHidden is an attribute that keeps sheets from being seen when you do Format > Sheet > Unhide. You can open the VBE (Alt+F11), open the Project Explorer window within it (Ctrl+R), and verfy that all the sheets listed appear in the workbook.

  7. #7
    Registered User
    Join Date
    08-29-2006
    Posts
    62
    Quote Originally Posted by shg
    VeryHidden is an attribute that keeps sheets from being seen when you do Format > Sheet > Unhide. You can open the VBE (Alt+F11), open the Project Explorer window within it (Ctrl+R), and verfy that all the sheets listed appear in the workbook.

    Yes, all of the sheets are accounted for. There are no very hidden sheets in the workbook. Is there a place to locate macros in a workbook except for Tools-Macros.

    Could I have copied some information from a previous version of the workbook that brought along an old macro?

    Any suggestions would be appreciated.

  8. #8
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Mary Frances, I have no other suggestions. VBA Noob has a very good grasp of XLM macros; perhaps he'll stop buy.

  9. #9
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Shg,

    I've only really come across Excel 4.0 macros from Walkenbach and chip site's. I've use it in the past to highlight formulas

    http://www.j-walk.com/ss/excel/usertips/tip045.htm

    http://www.cpearson.com/excel/Call.htm

    Maybe you could see if you have a named range refering to the GET.CELL Excel 4.0 macro or upload the file

    Another option is to copy the sheets to a new workbook
    http://www.j-walk.com/ss/excel/tips/tip58.htm

    Here are a few other sites

    http://support.microsoft.com/default...S;Q128185&FR=1

    http://www.mrexcel.com/archive2/18800/21312.htm

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  10. #10
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Thanks, Noob.

  11. #11
    Registered User
    Join Date
    08-29-2006
    Posts
    62
    Quote Originally Posted by VBA Noob
    Shg,

    I've only really come across Excel 4.0 macros from Walkenbach and chip site's. I've use it in the past to highlight formulas

    http://www.j-walk.com/ss/excel/usertips/tip045.htm

    http://www.cpearson.com/excel/Call.htm

    Maybe you could see if you have a named range refering to the GET.CELL Excel 4.0 macro or upload the file

    Another option is to copy the sheets to a new workbook
    http://www.j-walk.com/ss/excel/tips/tip58.htm

    Here are a few other sites

    http://support.microsoft.com/default...S;Q128185&FR=1

    http://www.mrexcel.com/archive2/18800/21312.htm

    VBA Noob
    You may have hit on the problem. Previously I asked for a conditional format that would change the shading of a cell when there is a formula in that cell. you suggested I go to http://j-walk.com/ss/Excel/usertips/tip045.htm, and I followed the instructions. (Insert-Name-Define,CellHasFormula, =GET.CELL(48,INDIRECT("rc",FALSE)), Conditional Formatting-=CellHasFormula,OK) Is that what has caused the Excel4.0 message box when I open the workbook?

  12. #12
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Is that what has caused the Excel4.0 message box when I open the workbook?
    Yes.


    VBA Noob

  13. #13
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Quote Originally Posted by shg
    The macro could be on a hidden sheet, or could be used in a named formula. ... do Insert > Name > Define, and look at all the names.
    Didn't that show up when you looked at the names?

  14. #14
    Registered User
    Join Date
    08-29-2006
    Posts
    62
    Quote Originally Posted by VBA Noob
    Yes.


    VBA Noob
    So, that formula is an Excel 4.0 formula? Why does it not convert to Excel 2003 when I create it in an Excel 2003 workbook.

    Is there a way to eliminate the second message box regarding Excel 4.0 macro still keeping the conditional formatting?

  15. #15
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    I don't believe so.

    You could try a normal macro instead

    http://exceltips.vitalnews.com/Pages..._Formulas.html

    VBA Noob

  16. #16
    Registered User
    Join Date
    08-29-2006
    Posts
    62
    Quote Originally Posted by VBA Noob
    I don't believe so.

    You could try a normal macro instead

    http://exceltips.vitalnews.com/Pages..._Formulas.html

    VBA Noob
    You are an Excel Genius!!!!! Thanks. This is exactly what I needed.

+ 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