excel vba code 3問

背景: 係一個一問一答的programme, User 輸入 keyword, 電腦出番對應的response. (keyword 和對應的keyword 已經save 佐落logic sheet)?

難題1: 點樣可以做到如果user 打某個keyword 累計5次,電腦轉而答"shall we change the topic?" (唔係好識用counter loop code)'
難題2: 每入一次個keyword, 對應個counter column 都會加1(原本係0)
難題3: 個counter column 每次開excel 會變番0 (我知係用workbook vba 個open event 做,但唔識code)   

希望識既師兄賜教一下
附件: 您需要登錄才可以下載或查看附件。沒有帳號?註冊

首先最重要既問題
點解一定要用Excel做?
睇你所講既野, 根本太適合用excel做

TOP