Consulting

Results 1 to 3 of 3

Thread: go to

  1. #1
    VBAX Contributor
    Joined
    Apr 2012
    Posts
    107
    Location

    go to

    If A1 is blank, then go to 'Range("I8").Select' .Plse add code
    [VBA]Selection.Sort Key1:=Range("A2"), Order1:=xlAscending, Header:=xlGuess, _
    OrderCustom:=1, MatchCase:=False, Orientation:=xlTopToBottom
    Range("I8").Select[/VBA]

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    [vba]
    If Range("A1").Value <> "" Then

    Selection.Sort Key1:=Range("A2"), Order1:=xlAscending, Header:=xlGuess
    End If

    Range("I8").Select [/vba]
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    VBAX Contributor
    Joined
    Apr 2012
    Posts
    107
    Location
    Thank you

Posting Permissions

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