+ Reply to Thread
Results 1 to 4 of 4

Selecting Activecell and cell next to the Activecell

  1. #1
    Registered User
    Join Date
    12-03-2013
    Location
    Mumbai
    MS-Off Ver
    Excel 2007
    Posts
    36

    Selecting Activecell and cell next to the Activecell

    Hi Team,

    Can someone help me by providing the VB relative refering code for selecting the Activecell + Cell adjacent to the activecell.

    Due to the dynamic nature of the data, wouldn't be able to define the exact range and column of the cell. Because of which I am using the find command in order to identify the field and in addition to that I want to select the cell (0,1) next to the activecell.

    Can someone please help me in doing the same.

    Regards,
    Raghu

  2. #2
    Registered User
    Join Date
    08-28-2013
    Location
    UK
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Selecting Activecell and cell next to the Activecell

    Something like;
    ActiveSheet.Range(ActiveCell, ActiveCell.Offset(0, 1)).Select

  3. #3
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: Selecting Activecell and cell next to the Activecell

    Hi, Raghukumarn,

    if you use FIND you could set a range to the found and work with that range instead of ActiveCell via Activate.
    Please Login or Register  to view this content.
    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  4. #4
    Valued Forum Contributor fredlo2010's Avatar
    Join Date
    07-04-2012
    Location
    Miami, United States
    MS-Off Ver
    Excel 365
    Posts
    762

    Re: Selecting Activecell and cell next to the Activecell

    Hello,

    You can try these alternatives one good and one better/ All do the same thing look for "New" and select the cell and the one next to it.

    Please Login or Register  to view this content.
    another
    Please Login or Register  to view this content.
    the best
    Please Login or Register  to view this content.
    Thanks

+ 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. [SOLVED] How to select cell to the right of active cell without selecting the activecell aswell?
    By Emmaly in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-12-2012, 07:22 AM
  2. Output contents of Activecell when Activecell may be string or numeric.
    By jfriddle in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-09-2012, 12:27 PM
  3. Selecting from point X to end, and sliding ActiveCell over or down
    By petalred in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-04-2008, 03:35 PM
  4. Selecting Range next to ActiveCell
    By ChrisF79 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-07-2008, 02:28 PM
  5. Replies: 1
    Last Post: 07-31-2006, 07:33 AM

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