Function CallDeepSeekRAPI(api_key As String, inputText As String)Dim API As StringDim SendTxt As StringDim Http As ObjectDim status_code As IntegerDim response As StringMsgBox "开始调用Deepseek R1进行总结,耐心等待..."API = "https://api...
Propmt:Act as a VBA programmer. Write me VBA code to create PowerPoint slides about the sports drink and hydration beverage category. think like a senior CPG brand manager and market researcher. use your knowledge and create at least 10 slides. 1. 从长文案到PPT提纲:ChatGPT的文案生成展示 Cha...
这一步是最关键的部分,通过编写VBA代码来连接DeepSeek的API,实现自动化的功能。 打开VBA编辑器在PPT的“开发工具”选项卡中,点击“Visual Basic”,打开VBA编辑器。 在编辑器中,点击“插入” -> “模块”,创建一个新的代码模块。 粘贴核心代码现在,你需要复制并粘贴以下代码到模块中。 Function CallDeepSeekAPI(...
Prompt:Now write all the VBA code to create the PowerPoint slides for this deck. The text should be centered on the slides and aligned to the left. 翻译提示:现在编写所有VBA代码来创建该幻灯片的PowerPoint幻灯片。文本应位于幻灯片居中并左对齐。 4️⃣ 制作要创建的PPT幻灯片 请按Alt + F11(...
2. 编写VBA代码(Write VBA Code) 点击“开发者”选项卡,选择“Visual Basic”。 在VBA编辑器中,插入一个新的模块(右键点击“VBAProject”,选择“插入” > “模块”)。 输入以下代码: Sub StartCountdown Dim i As Integer For i = 10 To 1 Step -1 ...
Learn and download free PowerPoint VBA Game Templates and Modules to make your classrooms interactive and lively!
For the PowerPoint 2013, it can greatly improve its practicability to design interactive exercises test system based on VBA code ActiveX controls. The test system mainly includes gap filling, single choice, multiple choices and true or false question, after the test can be automatically pop-up ...
Visual Basic for Application (VBA)培训;目 录;0 什么是VBA;1 对象、属性和方法; 或说具有三个基本概念的支持:数据封装、继承性和多态性。在OOP中,代码对象是一个容器(container),容器中包括数据和处理该数据的代码,即对象的属性和方法都包含在对象的定义中。 代码对象具有属性和方法。属性(properties)是对象的...
Excel培训VBA操作数据库实例 引用类引用一个连接数据库的类Excel培训VBA操作数据库实例 主过程SubMain()unifySheets(X-SELL),_SELECT*FROM[AO_CN].[hcc_risk].[V_CASH_CX]ORDERBYPROD_CODE,_D,E,F,H,K,M,N,O,P,Q,R,S,T,U,V,W,X,_LThisWorkbook.SaveEndSub注意:通常在我们编写程序时,主程序应...
[1] VBA macro error (https://answers.microsoft.com/en-us/msoffice/forum/all/vba-macro-error/b1c3f55d-b69d-438d-8001-93c0417aab21) [2] VBA Code to copy all shapes from Powerpoint to Body on email/outlook as picture (https://chandoo.org/forum/threads/vba-code-to-copy-all-shapes-...