close
Blogtrottr
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中 
excel vba可見儲存格選取Select疑惑
Jan 28th 2015, 13:57

以下的程式碼
With Worksheets("data")
Range("M2") = "OK"
Range("A6:N8000").AdvancedFilter Action:=xlFilterInPlace, CriteriaRange:= _
Range("A1:M2"), Unique:=False
End With

幫我在幾千筆資料中,把M欄位中有OK文字的資料顯示出來
其他的"列"都引隱藏起來了

因為我想跳到最後一筆資料
Range("B" & [B65536].End(xlUp).Row).Select可以派上用場
但是我想跳到第一筆資料時,程式碼該如何寫呢 ??
請各位先進幫幫忙

註:檔案的資料1~6列是標題列跟其他....
上千筆資料是從第7列開始建立的

Recommended article: Chomsky: We Are All – Fill in the Blank.
This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions
arrow
arrow
    全站熱搜
    創作者介紹
    創作者 nbv14tiaw18li 的頭像
    nbv14tiaw18li

    進擊的巨人14, 進擊的巨人線上看, 進擊的巨人漫畫, 進擊的巨人遊戲, 進擊的巨人 動畫, 進擊的巨人 線上漫畫, 進擊的巨人14線上看, 進擊的巨人13, 進擊的巨人 h, 進擊的巨人op

    nbv14tiaw18li 發表在 痞客邦 留言(0) 人氣()