Openai的ChatGPT果然厲害_初次使用
今天註冊了chatGPT,看看現在最夯的機器人能做什麼,的確是有利害,我讓chatgpt寫一個VBA,他很快就寫出來,這讓原本要自己寫的代碼可以很快的完成一個初稿、模型,之後只要微調就好。 後來我又請他用Bat寫一個備份的code,雖然反映有慢一點點,但也比自己上google搜尋相關語法要快,在這個ai的時代,能節省時間就要好好節省。 ChatGPT_中文也通 中英文夾雜交代寫VBA ChatGPT寫的VBA ChatGPT寫的VBA還告訴你哪裡要修改 ChatGPT寫的VBA Sub MergeExcelFiles() Dim wbDest As Workbook Dim wbSource As Workbook Dim strFolder As String Dim strFile As String Dim lngFileCounter As Long ' Change the folder path to match your environment strFolder = "C:\Users\UserName\Documents\ExcelFiles\" ' Create a new workbook for the merged data Set wbDest = Workbooks.Add ' Loop through all the files in the folder strFile = Dir(strFolder & "*.xlsx") Do While strFile <> "" ...