作者: kimyiu1029 時間: 2017-3-26 03:49 標題: excel vba code 3問
背景: 係一個一問一答的programme, User 輸入 keyword, 電腦出番對應的response. (keyword 和對應的keyword 已經save 佐落logic sheet)?
[attach]1969935[/attach]
難題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)

希望識既師兄賜教一下

作者: KinChungE 時間: 2017-3-26 13:44
首先最重要既問題
點解一定要用Excel做?

睇你所講既野, 根本太適合用excel做