Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Charts("Vendor").ChartTitle.Text = "Test"
添字エラーをスローしています。チャートは存在し、Vendor という名前です。
何か案は?
Chartaの子オブジェクトですChartObject(@DerekChengが言及したように、ワークシートに含まれています); Chartしたがって、そこから直接取得する必要があります。代わりにこれを試してください。
Chart
ChartObject
Worksheets("YourSheetName").ChartObjects("Vendor").Chart.ChartTitle.Text = "Test"