+ Reply to Thread
Results 1 to 3 of 3

Using offset function to select a range of cells based on active cell location

  1. #1
    Registered User
    Join Date
    01-12-2014
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    77

    Using offset function to select a range of cells based on active cell location

    Hi,

    Seasons Greetings!

    How to use offset function to select a range of cells based on active cell. I mean want to tell excel that select set of cells every time from active cell. I'm trying the following code in my file, but not getting this to work.
    Please Login or Register  to view this content.
    Appreciate your help on this.

    Thanks!

    Happy Holidays!

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: Using offset function to select a range of cells based on active cell location

    Something like this:

    Please Login or Register  to view this content.
    check do you need to use 13 and 11 in resize part.

  3. #3
    Registered User
    Join Date
    01-12-2014
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    77

    Re: Using offset function to select a range of cells based on active cell location

    I'm sorry, I'm not good at vba, still learning
    Where should I change the lines in my code to the one you have suggested.

    Thank You very much!

+ 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] syntax to select cell in another sheet based on offset of active cell in current sheet
    By duvius in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-07-2014, 11:16 AM
  2. Replies: 1
    Last Post: 08-18-2013, 05:00 PM
  3. select a range of cells using .Offset
    By aloha31 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-06-2013, 05:26 PM
  4. Select a Range of Cells Offset from a Selected Merged cell
    By kelvomatic in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 06-07-2013, 05:52 PM
  5. [SOLVED] Need to specify a function range that gets offset depending on cell location
    By Spirods in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-13-2013, 04:52 AM
  6. Select a Range Based on Active Cell Location?
    By w01f in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-27-2009, 08:35 AM
  7. Code to select a range of cells based on cursor location
    By kys2000 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-08-2007, 05:57 PM

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