Hub
Pricing About
WorkflowWorkflow

use R's openxlsx to add a worksheet to an existing Excel file with a macro .xlsm

OpenxlsxXlsmMacroExcelLoad
+3
mlauber71 profile image
Draft Latest edits on 
Mar 11, 2019 8:34 PM
Drag & drop
Like
Download workflow
Workflow preview
it is possible to use R’s openxlsx to add sheets from within KNIME to an existing Excel file which contains Macros.. With newer Excel Writers this can be done without R.

External resources

  • original discussion
  • Import EXCEL - a meta workflow trying to answer questions about importing data from Excel files
  • R - openxlsx: Read, Write and Edit xlsx Files
  • MEDIUM: KNIME and R — installation across operating systems — some remarks
  • HUB: use R's openxlsx to add a worksheet to an existing Excel file with a macro .xlsm
Loading deploymentsLoading ad hoc jobs

Used extensions & nodes

Created with KNIME Analytics Platform version 4.7.1
  • Go to item
    KNIME Base nodesTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.7.1

    knime
  • Go to item
    KNIME Basic File System ConnectorsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.7.0

    knime
  • Go to item
    KNIME Excel SupportTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.7.0

    knime
  • Go to item
    KNIME ExpressionsTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.7.0

    knime
  • Go to item
    KNIME Interactive R Statistics IntegrationTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.7.0

    knime
  • Go to item
    KNIME JavasnippetTrusted extension

    KNIME AG, Zurich, Switzerland

    Version 4.7.0

    knime

Legal

By using or downloading the workflow, you agree to our terms and conditions.

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2025 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits