+ Reply to Thread
Results 1 to 3 of 3

Create a code for offsetting range selection by 1 column

  1. #1
    Forum Contributor
    Join Date
    12-12-2012
    Location
    Los Angeles
    MS-Off Ver
    Excel 2010
    Posts
    448

    Create a code for offsetting range selection by 1 column

    Hello. Can someone create a macro for me that does the following: I have a range named "Jim" (cells A2, A4, A6, for a theoretical example), and when I select that range, I would like the macro to expand the selection 1 column to the right. Thanks.

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Create a code for offsetting range selection by 1 column

    Maybe:

    Please Login or Register  to view this content.

  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: Create a code for offsetting range selection by 1 column

    Hi, amratino,

    why would you need such kind of macro?
    Please Login or Register  to view this content.
    If itīs only an Offset for the Range("Jim"):
    Please Login or Register  to view this content.
    Ciao,
    Holger
    Last edited by HaHoBe; 10-04-2013 at 01:02 PM.
    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

+ 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. Help to create a worksheet selection change event code
    By ExcelFailure in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-09-2013, 08:46 AM
  2. [SOLVED] Range selection code
    By destijl03 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-22-2012, 12:49 AM
  3. code selection range
    By pichai in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 09-16-2008, 09:13 PM
  4. Consolidating an offsetting code
    By Actwentysix in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-29-2008, 03:45 AM
  5. create a form that allows selection of a range
    By laureenl in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-05-2006, 04:25 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