+ Reply to Thread
Results 1 to 5 of 5

Activating the next column cell from the last active cell

  1. #1
    Registered User
    Join Date
    08-18-2008
    Location
    Los Angeles
    Posts
    44

    Activating the next column cell from the last active cell

    Hi, Can anyone here help me on how to code the following:

    I would like to activate the right cell (Next Column) after the active cell without explicitly identifying the cell, For example, if my active cell is C7, i would like to activate the D7 next, of if the active cell is K27, then i would like to active cell L27.

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    You should avoid selecting when possible so if you have to do something to the cell please explain some more.

    otherwise try
    Please Login or Register  to view this content.
    Offset is saying 0 Rows but 1 column

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Registered User
    Join Date
    08-18-2008
    Location
    Los Angeles
    Posts
    44

    loop thru all columns

    Thanks Noob,

    I need to examine all the cells value from A1 thru BP1 to find a match from the string provided on a Userform. then once matched, I need to capture the entire population of that column and paste it to another worksheet.
    example, if last used row is 75 and matchs were found in Column H, then I need to copy the column H1:H75 and paste this to worksheet #2 column A

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Maybe

    Please Login or Register  to view this content.
    Change the inputbox to your code for the form

    VBA Noob
    Last edited by VBA Noob; 08-18-2008 at 05:59 PM.

  5. #5
    Registered User
    Join Date
    08-18-2008
    Location
    Los Angeles
    Posts
    44
    Thanks Noob,

    Your the greatest !!!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Macro for coding an action based on 3 columns of information
    By chozen86 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-31-2008, 10:44 PM
  2. Inserting a Column - Sometimes Works, Sometimes Not
    By teddybouch in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-11-2008, 06:52 PM
  3. Insert Active Formula in Excel Cell with VBA
    By trex46 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-04-2008, 11:44 AM
  4. using cell content to reference a worksheet tab name in second workbook
    By Conor in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-29-2007, 09:32 AM
  5. Replies: 3
    Last Post: 03-06-2007, 08:27 PM

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