【GH】【EXCEL】P1: Write DATA SET from GH into EXCEL

Write

Fast Write

GH data material :

image-20240818235501785

image-20240819000209357

GH process and components instruction

Fast Write Data

image-20240819000322679


Fast Write data to excel


Input parameters:

  • Wks (Generic Data) A Worksheet, Workbook, Range Object, Excel Application, or Text Worksheet Name
  • Cel (Generic Data) A Cell Object or Text Address (ex. A1)
  • V (Text) A datatree of values
  • _X (Boolean) If true, all contents of the sheet will be cleared prior to writing new data
  • _A (Boolean) If true, the component will be activated

Output parameters:

  • Wks (Generic Data) An Excel Worksheet Object
  • Rng (Generic Data) An Excel Range Object
Fast Write Data & Clear Data

The Fast Write component streams data to a worksheet.
Data should be formatted with each column in a list and each row a branch. Nested branches are ignored.

Fast Write to Cell

Worksheet Objects or Text Names can be used is Worksheet inputs and Cell objects or Text Cell Addresses in standard Excel format can be used to set the starting Cell.

EXCEL written results

image-20240819001753600

Write by Column

The Write Data component streams either column or row formatted data to a Sheet.
By Column data assigns a Column Header and optional formatting to each column’s contents.

GH data material :

image-20240819002545196

Compile Column

image-20240819002412756


Compile data into column assemblies


Input parameters:
N (Text) The names of the column

R (Text) The row values corresponding to each column

F (Text) A MS Office Number Format Examples

(“General”, “hh: mm:ss”, “$#,##0.0” https://support.microsoft.com/en-us/office/number-format-codes-5026bbd6-04bc-48cd-bf33-80f18b4eae68?ui=en-us&rs=en-us&ad=us

Output parameters:
Dst (Generic Data) A Data Set object

GH process and components instruction

image-20240819002619090

Write Data

在这里插入图片描述>


Write data to Excel


Input parameters:

  • Worksheet (Generic Data) A Worksheet, Workbook, Range Object, Excel Application, or Text Worksheet Name

  • Cell (Generic Data) A Cell Object or Text Address (ex. A1)

  • Data Set (Generic Data) A Data Set object

  • Clear (Boolean) If true, all contents of the sheet will be cleared prior to writing new data

  • Activate (Boolean) If true, the component will be activated

  • Output parameters:

  • Worksheet (Generic Data) An Excel Worksheet Object

  • Range (Generic Data) An Excel Range Object

EXCEL written results

image-20240819003037435

Write By Row

By Row data matches and groups column names assigned to each value in the row.

GH data material :

image-20240819003225729

GH process and components instruction

image-20240819003257769

EXCEL written results

SAME TO ABOVE

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

hmywillstronger

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值