+ Reply to Thread
Results 1 to 2 of 2

macro for selecting several cells that are not next to each other

  1. #1
    Registered User
    Join Date
    09-10-2013
    Location
    Guatemala
    MS-Off Ver
    Excel 2003
    Posts
    1

    macro for selecting several cells that are not next to each other

    Hey!!!! Can somebody please help me, I have been working on a macro for excel and all I need to finish it is for it to select the cell in column C and in Column D and the row will depend on where the active cell is located, for example: if my active cell is H11, then I need the macro to select Cell C11 and D11 (maybe cell F11 but not quite sure about that one yet), this macro will run right after I hit Enter and it will create an e-mail to send the cells to a person.

    I hope I have explained my self properly and that someone can help me.....

    Regards!!!! and thanks in advance!!!

  2. #2
    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: macro for selecting several cells that are not next to each other

    Hi, walterf45,

    use of ActiveCell.Row:

    Please Login or Register  to view this content.
    Select is for demo here, could be replaced with Copy.

    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

+ 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] My macro not selecting enough cells to the right
    By coach.32 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-28-2013, 08:23 AM
  2. Selecting relative cells in a macro?
    By lady2beetle in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-20-2010, 11:35 AM
  3. Selecting Cells with a Macro
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-09-2008, 03:02 PM
  4. Selecting only Active cells within a macro
    By Digger442 in forum Excel General
    Replies: 0
    Last Post: 06-06-2007, 11:37 AM
  5. Macro for selecting number of cells...
    By danielc in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-14-2005, 02:56 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