Delete Rows or Columns in Excel Using Report Generation Toolkit from LabVIEW

Productos y Entorno

Esta sección refleja los productos y el sistema operativo utilizados para crear el ejemplo.

Para descargar el software de NI, incluyendo los productos que se muestran a continuación, visite ni.com/downloads.

    Software

  • LabVIEW Report Generation Toolkit
  • LabVIEW

Código y Documentos

Adjunto

Overview

This code loads in a user specified excel spreadsheet, and will then delete a range of rows or a range of columns

 

Description

This example code shows how to delete rows or columns in Excel. The remaining cells will be shifted up or to the left. The user will be prompted to choose to delete rows or columns, then what range of cells to delete.

 

Requirements

  • LabVIEW 2013 (or compatible)
  • Ni-Report Generation Toolkit
  • Microsoft Excel (or similar)

 

Steps to Implement or Execute Code

  1. Download the attached VI.
  2. Enter the correct paths of the Excel file
  3. Run Delete Rows or Columns from Excel 2013 NIVerified.vi
  4. Choose to delete rows or columns, then what range of cells to delete. 

 

Additional Information or References

VI Block Diagram

 2-288.png

 

**This document has been updated to meet the current required format for the NI Code Exchange. **

 

Joel I.
Applications Engineer
National Instruments

El código de ejemplo del Intercambio de Código en la Comunidad de NI está autorizado con la licencia MIT. 

Comentarios
KenNorcross
Member
Member
el

Could you post a Labview 2012 version of this?

Thanks!

oliver1023
Member
Member
el

hi, got any ways to disable the save excel popup? i want it to always save the excel