真係白學VBA,學chatGPT好過

公司寫咗個幾複雜嘅Excel VBA,接近成個軟件咁,公司所有同事都會用,但係行個陣有啲慢,老闆都覺得好用,所以換晒啲電腦,希望可以行快啲但都唔見快好多,頭先公司無嘢做,試下上chatGPT打,幫我優化下個code,佢一秒後就彈出我嘅code問題所在,跟佢改左後,真係快到飛

via HKEPC IR Pro 3.6.1 - Android(3.3.1)

本帖最後由 platinum 於 2023-5-11 09:33 編輯

通常係 loop 死左, 咩actions都 "cells", 一堆無用既select, scroll, copy/paste,
或者一堆vlookup 之類
disable calculation 又快一截

program 就係咁, 花半個鐘執執佢就隨時慳一萬 (你個case 甚至係好多萬..)

TOP

公司寫咗個幾複雜嘅Excel VBA,接近成個軟件咁,公司所有同事都會用,但係行個陣有啲慢,老闆都覺得好用,所 ...
cyberyeah 發表於 2023-5-11 09:22


但你咁樣唔係叫白學, 只係VBA唔夠熟唔識optimize喎. 當你VBA有個底, AI同你optimize後, 你都識知佢改過乜, 用乜code優化到, 下次遇到相似情況, 就唔洗再問AI自己識寫. 如果乜VBA都唔識, 就每一次都要問AI, 當有一日用唔到AI, 就變廢柴.
我覺得呢一刻AI仲未可完全代替programmer, 返而係coding上快速debug/optimize幫到programmer之餘, 更係一個免費既老師.

TOP

ChatGPT 都唔係萬能
佢可好熟 VBA 就無問題 , 但我有時叫佢寫 d Windows Batch Script 佢會寫 d run 唔到既野出黎
而人肉自己睇返就會發現原因係 ChatGPT 唔識呢類 Batch Script 既部份 rules 導致

始終都需要人手 verify 一下佢 gen 既 program 先得 (暫時)

TOP

ChatGPT learn from knowledge created by human, in coming ages, it will be..
1. no one creating new knowledge
2. Ai stop advancing for awhile
3. Ai creating their knowledge which is not unstandable by human.
4. Ai advacing not in the direction with human but too quick to be imagine.
5. human will be a working force of few person and Ai
6. Ai will replace most human

TOP

本帖最後由 iamstupid 於 2023-5-20 22:59 編輯

下次ai terminator整古你,將你的codes中間加條clear all cells,然後save。。。,仲要將你hdd內所有excel files相同處理一次。。。。。。,你等住跳樓。。。。

ai丫拿。。。。。

TOP