+ Reply to Thread
Results 1 to 4 of 4

Macro no longer puts formula in cell...?

  1. #1
    Forum Contributor
    Join Date
    05-23-2007
    Posts
    126

    Macro no longer puts formula in cell...?

    OK... so I've been using a macro for several months now, and for some reason it is now not working properly (no changes...).

    Specifically, the second formula below is not being input into the cell during the macro's run. So of course the latter lines are useless and create errors... Any thoughts on why this is not being input 'as ordered'?

    Thanks so much in advance!

    Please Login or Register  to view this content.

  2. #2
    Valued Forum Contributor
    Join Date
    11-20-2012
    Location
    Seattle, WA USA
    MS-Off Ver
    Excel 2010
    Posts
    597

    Re: Macro no longer puts formula in cell...?

    Quote Originally Posted by fourmurphys View Post
    Please Login or Register  to view this content.
    looks like the second formula has an error in it.

    try:
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    05-23-2007
    Posts
    126

    Re: Macro no longer puts formula in cell...?

    Thanks Scott, will try. Appears the only difference is your addition of quotes in the first VLOOKUP?

  4. #4
    Forum Contributor
    Join Date
    05-23-2007
    Posts
    126

    Re: Macro no longer puts formula in cell...?

    It's ALWAYS the simplest answer... the output files that are referenced in the macro have been slightly altered, so one of the columns is now blank... the fix was simply changing the first [-1] to [-2].....

    Whew!

+ 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