+ Reply to Thread
Results 1 to 4 of 4

Applying a formula with a for loop

  1. #1
    Registered User
    Join Date
    06-28-2013
    Location
    Naperville, Chicago
    MS-Off Ver
    Excel 2007
    Posts
    5

    Applying a formula with a for loop

    I was attempting to insert the the following formula "=vloopup(A14,Powers,2,FALSE)" into a known number of cells where the "A14" is relative and the active cell is incremented by the for value x.

    Compile Error: Invalid or unqualified reference

    Please Login or Register  to view this content.
    Thanks for the heads up

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,462

    Re: Applying a formula with a for loop

    Cell should be Cells.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Registered User
    Join Date
    06-28-2013
    Location
    Naperville, Chicago
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Applying a formula with a for loop

    (ahh...duh) Same error however.

    Please Login or Register  to view this content.
    Thanks

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,462

    Re: Applying a formula with a for loop

    Well, there's no column 0 and, if you're using .Cells and .Offset it should be inside a With ... End With construct.


    Regards, TMS

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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