Groups
Sign in
Groups
EXCEL函數與VBA設計
Conversations
Labels
About
Send feedback
Help
EXCEL VBA進階範例尋找與判斷負0到9的值分享
106 views
Skip to first unread message
吳老師
unread,
Aug 7, 2018, 4:55:12 AM
8/7/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to EXCEL函數與VBA設計
EXCEL VBA進階範例尋找與判斷負0到9的值分享
本範例為進階VBA的程式範例,直接用自訂函數思考,
最後再用SUB呼叫,一改入門班的思考方式,
另外,多重邏輯也可以用迴圈來撰寫,
只是需要的是將數字轉為文字,可用Cstr函數轉換,
有點像EXCEL裡的Value函數。
程式需求:
1.如果儲存格中有-0到-9就返還 Apple
2.如果儲存格為空白就輸出空白,不然就輸出 Orange
完整連結:
https://terry55wu.blogspot.com/2018/08/excel-vba09.html
吳老師 20100807
Reply all
Reply to author
Forward
0 new messages