Append data in same excel sheet

Hi Experts,

I'm extracting some data by doing some comparisons via process model and when whole data is extracted(just before the process going to end node), I finally dump the data in excel using Export CDT to excel.

But the problem is, in this process a variable of type CDT contains whole data for long (till dumping it to excel) which increase its chances of failure if a large amount of data will extract.

I want ---> If in total there are 6000 rows which need to be extract,

So I want to extract first 1000 rows and dump them in excel and repeat this process for all the 6000 rows which extract in 6 times.

Main problem ---> I want all the data in same excel, same sheet, next 1000 rows append after the first 1000 rows

Don't want different excel , different sheet.

Suggest some possible solutions thoroughly 

Thanks in advance

  Discussion posts and replies are publicly visible

Parents Reply Children
  • Sorry, I've never encountered this situation before, I'm also a new member so I don't know the answer too well. However, I consulted the internet and found a solution. You can consult. However, I'm not sure if it's correct, I'm sorry:

    "Use a loop to iterate through the data sources.
    Inside the loop, use appropriate functions to convert the data from each source into a text format (e.g., CSV). You can use built-in functions like "text.join" or custom logic depending on the data structure.
    Append the converted text from each source to a single text file using file operations functions like "file.append".
    Convert Text to Excel:
    Once all data is appended to the text file, use file operations to convert the text file back to an Excel sheet with desired formatting. You can achieve this by writing the text with headers and delimiters compatible with Excel import."

  • Thank you  for your input, I'm also doing the same thing as you suggest, and the only thing stopping for doing this, is any variable capable of holding such huge data, If not than it is also a problem.