+ Reply to Thread
Results 1 to 4 of 4

Loop Until Active Cell is in a specific column?

  1. #1
    Registered User
    Join Date
    06-01-2013
    Location
    United States
    MS-Off Ver
    Excel 2011
    Posts
    64

    Loop Until Active Cell is in a specific column?

    So my code just keeps looping off into the infinite column so my syntax must be off.

    Basically I have a loop that moves from one column to the next (on the same row) but I want to tell the loop to stop once it reaches Column CE.

    I tried "Loop Until activecell.column = CE"

    but that's giving me a type mismatch.

    Thanks!

  2. #2
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Loop Until Active Cell is in a specific column?

    Column is a number:

    Please Login or Register  to view this content.
    Gary's Student

  3. #3
    Registered User
    Join Date
    06-01-2013
    Location
    United States
    MS-Off Ver
    Excel 2011
    Posts
    64

    Re: Loop Until Active Cell is in a specific column?

    Is there a way to quickly identify what number a column is? Can I switch them from being letters to showing up as numbers? Or do I just have to count out by hand?

  4. #4
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Loop Until Active Cell is in a specific column?

    To translate from Number to Letter:

    Please Login or Register  to view this content.
    and to translate from Letter to Number:

    Please Login or Register  to view this content.

+ 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