Hello everyone!
i need to help me I'm 1st time to used Node-Red
i need to change font size in excel file
function node is
msg.payload = [{
header: {
'author': 'authorName',
'title': 'title'
},
items: [
{
author:'john',
title:'how to use this',
},
{
author:'Bob',
title:'so Easy'
}
],
cells: [
{
cell_value: "Hello there!",
cell_styling: {
fColor: "ffa2917d"
}
}
],
sheetName: 'sheet1',
},
{
header: {
'a': 'AAAAA',
'b': 'BBBBB'
},
items: [
{
a:'a',
b:'b'
},
{
a:'aa',
b:'bb'
}
],
sheetName: 'sheet2',
}];
msg.filepath = msg.home + '/output.xlsx';
return msg;
the debug out put
9/18/2024, 12:40:57 PMnode: 82381af86c6fa645SSSSS : msg : Object
{ _msgid: "61f618188d392825", home: "E:/amr", topic: "SSSSS", payload: array[2], filepath: "E:/amr/output.xlsx" }
pls help