1
我目前正在嘗試從引用列表中自動命名對象,而不是僅在腳本中聲明對象文本。自動創建並從一個列表中命名一個對象
如何拿到劇本參照名爲Process Steps
單獨的工作表,其中文本值是細胞C7
,而不是在腳本中輸入語句Step 1
的
ActiveSheet.Shapes.AddShape(msoShapeRectangle, 50, 50, 100, 50).Select
Selection.Formula = ""
Selection.ShapeRange.ShapeStyle = msoShapeStylePreset40
Selection.ShapeRange(1).TextFrame2.TextRange.Characters.Text = "Step1"
嘗試'Selection.ShapeRange(1).TextFrame2.TextRange.Characters.Text =表( 「YourWorksheetName」),範圍( 「C7」)。Value' –