背景: 係一個一問一答的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)
希望識既師兄賜教一下 |