這篇文比前兩篇稍嫌生硬一些,請參酌使用。
VBA筆記系列的最後一篇,拖這麼久才把這三篇發完也是始料未及的。最後一篇要來提及,在我完成了多項條件格式化篩選程式後,還可以如何將它設定為一個Excel內建的功能,以後就可以更快速地使用並且將它應用在不同的條件篩選上。
>…
順著上一篇,寫完後除了除了稍微自我滿足外也想到另一個問題:那如果「水果」其實不在B欄位怎麼辦?如果今天我每次開試算表,水果的欄位都不是固定的又該怎麼處理呢?
讓我們再拿上一篇文章的截圖作為範例。
又是久違的一個月更新,在連續多篇的心靈雞湯後終於回歸到我想要寫的筆記系列。
之所以會想著手這篇文章,是因為這算是我寫VBA macro的初體驗。過去雖然有使用過Excel VBA的經驗,但基本上都是透過錄製來完成巨集的編輯,而這次則是我自己以撰寫程式的方式來完成Macro。姑且不論寫的codes真的非常醜,但只要能跑的Macro就是好Macro(笑)。