Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Daves1

    VBs code Export Chart from excel (sharepoint)

    Unfortunately I still get errors like: "Sheet2.ChartObjects is not a function clientRequestId". Anyway you have been really helpful even if I was totally offtopic. thanks a lot!
  2. Daves1

    VBs code Export Chart from excel (sharepoint)

    I tried this way: function main(workbook: ExcelScript.Workbook) { declare function require(name: string); const fs = require('fs'); let Sheet2 = workbook.getWorksheet("Sheet2"); var rang = Sheet2.Range("J2: Q16"); var ch = Sheet2.ChartObjects().Add(rang.Left + rang.Width, rang.Top...
  3. Daves1

    VBs code Export Chart from excel (sharepoint)

    thanks for the clarifications, but it gives me an error on line 2 could be changed to: const fs = require('fs');
  4. Daves1

    VBs code Export Chart from excel (sharepoint)

    Ok I didn't mean to create confusion, however if it helps I am using office script from excel online.
  5. Daves1

    VBs code Export Chart from excel (sharepoint)

    sorry unfortunately I don't have much familiarity with vbscript, but I'm trying to do it. I stopped here: function main(workbook: ExcelScript.Workbook) { let Sheet2 = workbook.getWorksheet("Sheet2"); var rang = Sheet2.Range("J2:Q15"); var ch = Sheet2.ChartObjects().Add(rang.Left +...
  6. Daves1

    VBs code Export Chart from excel (sharepoint)

    thanks for the answer but I get the following error: ';' expected. Workbook.Sheets("Sheet2").Shapes("Chart2").Chart.Export
  7. Daves1

    VBs code Export Chart from excel (sharepoint)

    I would like to simply export chart 2 from sheet 2 by converting it to an image format and save it in the same sharepoint directory.
  8. Daves1

    VBs code Export Chart from excel (sharepoint)

    same problem using "Dim
  9. Daves1

    VBs code Export Chart from excel (sharepoint)

    hello everyone. I am trying to create a script that extracts the chart (in jpg) from excel in sheet 2. I need this to create a flow via power automate to populate a word document in sharepoint with the extracted chart. I'm currently using this script but without results: // Get chart 1 from...

Part and Inventory Search

Back
Top