+ Reply to Thread
Results 1 to 5 of 5

Unable to record macro

  1. #1
    Pat
    Guest

    Unable to record macro

    When recording a macro an 'Unable to record' message appears when I try to
    record a formula. Here is the formula that seems to cause the problem:

    =IF(ISNA(MATCH(Cont!$C77,Purchases!$BM$24:$BM$2000,0)),"",IF(INDEX(Purchases!Y$24:Y$2000,MATCH(Cont!$C77,Purchases!$BM$24:$BM$2000,0))="UpdateCC",INDEX(Purchases!$AP$24:$AP$2000,MATCH(Cont$C77,Purchases!$BM$24:$BM$2000,0)),""))

    Anyone know why this should happen?

    Thanking you in advance.
    Pat



  2. #2
    PC
    Guest

    Re: Unable to record macro

    I get an error in the formula

    in the last MATCH you have "Cont$C77" it should be Cont!$C77

    Possibly that is the problem

    HTH

    PC

    "Pat" <[email protected]> wrote in message
    news:[email protected]...
    > When recording a macro an 'Unable to record' message appears when I try to
    > record a formula. Here is the formula that seems to cause the problem:
    >
    >

    =IF(ISNA(MATCH(Cont!$C77,Purchases!$BM$24:$BM$2000,0)),"",IF(INDEX(Purchases
    !Y$24:Y$2000,MATCH(Cont!$C77,Purchases!$BM$24:$BM$2000,0))="UpdateCC",INDEX(
    Purchases!$AP$24:$AP$2000,MATCH(Cont$C77,Purchases!$BM$24:$BM$2000,0)),""))
    >
    > Anyone know why this should happen?
    >
    > Thanking you in advance.
    > Pat
    >
    >




  3. #3
    Pat
    Guest

    Re: Unable to record macro

    Hi PC

    Sorry that is a typo error, even with the correction the error message still
    appears.


    "PC" <[email protected]> wrote in message
    news:[email protected]...
    > I get an error in the formula
    >
    > in the last MATCH you have "Cont$C77" it should be Cont!$C77
    >
    > Possibly that is the problem
    >
    > HTH
    >
    > PC
    >
    > "Pat" <[email protected]> wrote in message
    > news:[email protected]...
    > > When recording a macro an 'Unable to record' message appears when I try

    to
    > > record a formula. Here is the formula that seems to cause the problem:
    > >
    > >

    >

    =IF(ISNA(MATCH(Cont!$C77,Purchases!$BM$24:$BM$2000,0)),"",IF(INDEX(Purchases
    >

    !Y$24:Y$2000,MATCH(Cont!$C77,Purchases!$BM$24:$BM$2000,0))="UpdateCC",INDEX(
    >

    Purchases!$AP$24:$AP$2000,MATCH(Cont$C77,Purchases!$BM$24:$BM$2000,0)),""))
    > >
    > > Anyone know why this should happen?
    > >
    > > Thanking you in advance.
    > > Pat
    > >
    > >

    >
    >




  4. #4
    PC
    Guest

    Re: Unable to record macro

    Unfortunately I can't be much help to you Pat. It worked fine when I c&p'd
    the formula while using the recorder and it worked when I tried a test run.

    Sorry

    PC

    "Pat" <[email protected]> wrote in message
    news:[email protected]...
    > Hi PC
    >
    > Sorry that is a typo error, even with the correction the error message

    still
    > appears.
    >
    >
    > "PC" <[email protected]> wrote in message
    > news:[email protected]...
    > > I get an error in the formula
    > >
    > > in the last MATCH you have "Cont$C77" it should be Cont!$C77
    > >
    > > Possibly that is the problem
    > >
    > > HTH
    > >
    > > PC
    > >
    > > "Pat" <[email protected]> wrote in message
    > > news:[email protected]...
    > > > When recording a macro an 'Unable to record' message appears when I

    try
    > to
    > > > record a formula. Here is the formula that seems to cause the problem:
    > > >
    > > >

    > >

    >

    =IF(ISNA(MATCH(Cont!$C77,Purchases!$BM$24:$BM$2000,0)),"",IF(INDEX(Purchases
    > >

    >

    !Y$24:Y$2000,MATCH(Cont!$C77,Purchases!$BM$24:$BM$2000,0))="UpdateCC",INDEX(
    > >

    >

    Purchases!$AP$24:$AP$2000,MATCH(Cont$C77,Purchases!$BM$24:$BM$2000,0)),""))
    > > >
    > > > Anyone know why this should happen?
    > > >
    > > > Thanking you in advance.
    > > > Pat
    > > >
    > > >

    > >
    > >

    >
    >




  5. #5
    Pat
    Guest

    Re: Unable to record macro

    I am pleased to say that the solution to the problem turns out to be a
    security issue. The workbook is password protected, remove the protection
    and the macro will record.

    Thanks for your help nevertheless.
    Pat

    "PC" <[email protected]> wrote in message
    news:[email protected]...
    > Unfortunately I can't be much help to you Pat. It worked fine when I

    c&p'd
    > the formula while using the recorder and it worked when I tried a test

    run.
    >
    > Sorry
    >
    > PC
    >
    > "Pat" <[email protected]> wrote in message
    > news:[email protected]...
    > > Hi PC
    > >
    > > Sorry that is a typo error, even with the correction the error message

    > still
    > > appears.
    > >
    > >
    > > "PC" <[email protected]> wrote in message
    > > news:[email protected]...
    > > > I get an error in the formula
    > > >
    > > > in the last MATCH you have "Cont$C77" it should be Cont!$C77
    > > >
    > > > Possibly that is the problem
    > > >
    > > > HTH
    > > >
    > > > PC
    > > >
    > > > "Pat" <[email protected]> wrote in message
    > > > news:[email protected]...
    > > > > When recording a macro an 'Unable to record' message appears when I

    > try
    > > to
    > > > > record a formula. Here is the formula that seems to cause the

    problem:
    > > > >
    > > > >
    > > >

    > >

    >

    =IF(ISNA(MATCH(Cont!$C77,Purchases!$BM$24:$BM$2000,0)),"",IF(INDEX(Purchases
    > > >

    > >

    >

    !Y$24:Y$2000,MATCH(Cont!$C77,Purchases!$BM$24:$BM$2000,0))="UpdateCC",INDEX(
    > > >

    > >

    >

    Purchases!$AP$24:$AP$2000,MATCH(Cont$C77,Purchases!$BM$24:$BM$2000,0)),""))
    > > > >
    > > > > Anyone know why this should happen?
    > > > >
    > > > > Thanking you in advance.
    > > > > Pat
    > > > >
    > > > >
    > > >
    > > >

    > >
    > >

    >
    >




+ 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