Results 1 to 3 of 3
  1. #1
    5 Star Lounger
    Join Date
    Jul 2003
    Location
    USA
    Posts
    728
    Thanks
    7
    Thanked 2 Times in 2 Posts

    Select Cell (WOrd97/ SR2)

    Hi -

    Am trying to record a macro that will allow me to select a cell no matter where in the Insertion Point is in the cell.

    I can

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Select Cell (WOrd97/ SR2)

    Selection.Tables and Selection.Cells are collections. In order to access an object in the collection, you add an index number after the collection name (or the long-winded .Items(indexnumber)). The typical syntax for "current cell" is to use the "first" cell in the collection. If multiple cells already are selected, all but the first will be deselected.

    Selection.Cells(1).Select

  3. #3
    5 Star Lounger
    Join Date
    Jul 2003
    Location
    USA
    Posts
    728
    Thanks
    7
    Thanked 2 Times in 2 Posts

    Re: Select Cell (WOrd97/ SR2)

    Thank you, Jefferson, for your
    Quick response & for your
    clear explanation.

    The choice of (1) always baffled me: I THINK I may be beginning to understand it more.

    ACM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •