Skip to content

Problem when copying TypeError: Converting circular structure to JSON #108

Answered by AlexeyMatveev686
karpovz asked this question in Q&A
Discussion options

You must be logged in to vote

`builder.OpenFile("${files[0]}"); var oWorksheet = Api.GetSheet("Лист1"); var Rng = oWorksheet.GetUsedRange() GlobalVariable["CR"] = Rng builder.CloseFile();

builder.OpenFile("${files[1]}"); var oWorksheet = Api.GetSheet("Лист1"); var Rng = GlobalVariable["CR"]; Rng.Insert("down") builder.SaveFile("xlsx", "${files[1]}"); builder.CloseFile(); `

TypeError: Converting circular structure to JSON --> starting at object with constructor 'Object' --- property 'documentElement' closes the circle at JSON.stringify (<anonymous>) at <anonymous>:1:6 TypeError: Cannot read property 'Insert' of undefined at <anonymous>:3:5

This code doesn't work but docbuilder version is 7.4. for windows. What am I d…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by trofim24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants