Blogtrottr
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中
Yahoo!奇摩知識+ - 分類問答 - 電腦網路 - 發問中
Excel VBA 如何刪除儲存格內每個段落後的空白?
May 4th 2013, 19:29

Excel VBA 如何刪除儲存格內每個段落最後面的空白?

EX:
儲存格A1裡, 共有4行資料
每行最後面都有空白,怎麼寫VBA 刪除?
由於使用了儲存格自動換列,,導致我使用TRIM, LTRIM, RTRIM,
都無法刪除每個段落後的空白,只能刪除頭,尾和字串間的空白。
但我又需要儲存格內要有4行。
請高手求解,不勝感激~~~

A1儲存格:
ABC ENGLISH TOWN   (這行是固定資料 For 公司)
STUDENT (這行是固定資料 For 學生)  
NO5 555 SEC1 NAN JING E RD (這行是固定資料 For 地址)  
TAIWAN  (這行是固定資料 For 地址)  

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. Five Filters recommends: Thatcher's Tyrants - The Tanks, The Guns, The Christmas Cards.

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
    全站熱搜

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