+ Reply to Thread
Results 1 to 17 of 17

Protection Stops Macro From Running

Hybrid View

  1. #1
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481
    Works for me.

    Run the macro and search for time.

    EDIT: Confidential file removed
    Last edited by Andy Pope; 06-11-2008 at 07:55 AM.
    Cheers
    Andy
    www.andypope.info

  2. #2
    Registered User
    Join Date
    01-24-2007
    Posts
    13
    Hi Andy,

    Sorry it doesn't work for me. When I run the nmacro and search for time it takes me to a line within the macro. Can you advise further, please.

    Kind regards
    Keith

  3. #3
    Forum Contributor
    Join Date
    06-03-2008
    Posts
    387
    Quote Originally Posted by Keith Burgess
    Hi Andy,

    Sorry it doesn't work for me. When I run the nmacro and search for time it takes me to a line within the macro. Can you advise further, please.

    Kind regards
    Keith
    It would help you posted the line in the macro it takes you to.

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    It works fine. The code finds any row where a cell contains "time2 and highlights it.
    Hope that helps.

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

    Free DataBaseForm example

  5. #5
    Registered User
    Join Date
    01-24-2007
    Posts
    13
    Hi Guys,

    Below is the line in the macro it takes me to when I run the macro and ask it to search for time. I am using MS Office Excel 2003?
    SearchRng.Offset(1).Resize(SearchRng.Rows.Count).EntireRow.Interior.ColorIndex = xlNone
    Hope this helps.

    Kind regards
    Keith
    Last edited by royUK; 06-11-2008 at 04:00 AM.

  6. #6
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Is the sheet you are searching active, i.e. the one open?

  7. #7
    Registered User
    Join Date
    01-24-2007
    Posts
    13
    Hi Roy,

    Many thanks for your reply. Yes! the sheet is active and open in fact it is the only worksheet in the workbook.

    Kind regards
    Keith

+ 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