Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69758

Help Arranging an Array of Data into an Excel Worksheet (using ActiveX)

$
0
0

Hello!

So I have a 2D array of data that I pulled from a separate file and I am trying to arrange and put into a new file but I am running into an error using ActiveX when it comes to specifying the cells I want each bit of data to go into. I do not understand how the Worksheet Range property works when given an array of cell numbers with the 2D array of data I am using. I noticed that if I only give it one cell name, for example A2, it will put my very first piece of data into that cell, but I can't figure out how to get the rest of the data in. I inserted pictures of an example array of data I am trying to use as well as the snippet of the code that I have to accomplish this task. Essentially, I am just looking to take this data, swap some of the columns and then write that data into an excel file that already has headers and formatting done. I hope this is making sense, but any help is appreciated! Thanks!

Data.PNG

snippet.PNG


Viewing all articles
Browse latest Browse all 69758

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>