+ Reply to Thread
Results 1 to 4 of 4

Insted f ActiveSheet.Range("$A$2:$E$1616") ActiveSheet.Range(" Whole area where data is")?

  1. #1
    Registered User
    Join Date
    03-08-2013
    Location
    Bangalore
    MS-Off Ver
    Excel 2010
    Posts
    8

    Insted f ActiveSheet.Range("$A$2:$E$1616") ActiveSheet.Range(" Whole area where data is")?

    Dear friends,


    Instead of static ActiveSheet.Range("$A$2:$E$1616") i want to select the active sheet as CTRL SHIFT END...?

    How to accomplish this..?


    Thanks,
    Abhijeet.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Insted f ActiveSheet.Range("$A$2:$E$1616") ActiveSheet.Range(" Whole area where data i

    Why do you want to manually select the range? Or select it that way?

    You can make the macro do it.

    Please Login or Register  to view this content.
    Here the copy command is given as an example.

    You can change the Sheet1 to activesheet if you need.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: Insted f ActiveSheet.Range("$A$2:$E$1616") ActiveSheet.Range(" Whole area where data i

    Maybe another option.

    Activesheet.UsedRange

  4. #4
    Forum Contributor
    Join Date
    12-19-2011
    Location
    Central Europe
    MS-Off Ver
    Excel O365
    Posts
    361

    Re: Insted f ActiveSheet.Range("$A$2:$E$1616") ActiveSheet.Range(" Whole area where data i

    HI

    If the data always starts in A2 you could also do

    Please Login or Register  to view this content.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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