# Change font size in excel file

**URL:** <https://discourse.nodered.org/t/change-font-size-in-excel-file/91066>\
**Category:** General\
**Tags:** function-node\
**Created:** [18 September 2024 10:00 UTC](https://discourse.nodered.org/t/change-font-size-in-excel-file/91066 "2024-09-18T10:00:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![amr](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@amr](https://discourse.nodered.org/u/amr)\
**Post date:** [18 September 2024 10:00 UTC](https://discourse.nodered.org/t/change-font-size-in-excel-file/91066/1 "2024-09-18T10:00:40Z")

</div>

Hello everyone!  
i need to help me I'm 1st time to used Node-Red  
i need to change font size in excel file

![32](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/5/e58d38652ba24a97c7109720c63085aac8b417ad.jpeg)

_function node is_

```auto
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 PM[node: 82381af86c6fa645](http://127.0.0.1:1880/#)SSSSS : msg : Object

{ \_msgid: "61f618188d392825", home: "E:/amr", topic: "SSSSS", payload: array[2], filepath: "E:/amr/output.xlsx" }

 ![33](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/a/2a9c54237898389ba0f3b15683606b5f74591a1b.jpeg)

pls help

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [18 September 2024 16:13 UTC](https://discourse.nodered.org/t/change-font-size-in-excel-file/91066/2 "2024-09-18T16:13:41Z")

</div>

Welcome to the forum @amr

Which node are you using to write the excel file? Does the help text for that node say that you can set the front size?

---

<div class="post-metadata">

**Author:** ![amr](https://avatars.discourse-cdn.com/v4/letter/a/73ab20/32.png) [@amr](https://discourse.nodered.org/u/amr)\
**Post date:** [18 September 2024 21:27 UTC](https://discourse.nodered.org/t/change-font-size-in-excel-file/91066/3 "2024-09-18T21:27:48Z")

</div>

Dear Colin  
i need it for any node, but I'm already try put font size but no any effect happened

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [19 September 2024 07:48 UTC](https://discourse.nodered.org/t/change-font-size-in-excel-file/91066/4 "2024-09-19T07:48:47Z")

</div>

> [@amr](#):
>
> i need it for any node

Do you mean that you are looking for a node that will write an excel file and allow you to specify the font size in that file?  
If so then I think you will have to look at all the excel writing nodes and see if any of them say that the font size can be specified.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [18 December 2024 07:48 UTC](https://discourse.nodered.org/t/change-font-size-in-excel-file/91066/5 "2024-12-18T07:48:54Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
