+ Reply to Thread
Results 1 to 4 of 4

Unselect Range to top left cell

  1. #1
    Registered User
    Join Date
    01-10-2013
    Location
    Tallahassee
    MS-Off Ver
    Excel 2010
    Posts
    30

    Unselect Range to top left cell

    I have a macro where I select a range of cells and concatenate the selected cells. (I am copying and pasting from Word and the lines are not appearing on the same cell).

    Once this macro runs it concatenates correctly but there are several rows that are selected.

    I only want to wrap text on the first cell (top left cell).

    How do I unselect all cells except the top cell?

    I am using Excel 2007.

    I have this this line:
    selection.wraptext = true

    I want to apply this to only the first cell in the selection.

    Thank you.

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,445

    Re: Unselect Range to top left cell

    Maybe:

    Please Login or Register  to view this content.

    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,643

    Re: Unselect Range to top left cell

    You could use this.
    Please Login or Register  to view this content.
    PS You probably don't need to select anything to do what you want
    If posting code please use code tags, see here.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,445

    Re: Unselect Range to top left cell

    Thanks for the rep.

+ 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