Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

add column with value of zero to excel

$
0
0

I have number of excel files which I need to process using a software, I need them to have same number of columns in order to process them. I need a script (VB or Power shell) to read the file and add enough columns to the file so it has 33columns totally. new columns can be empty or value of 0.

for example if the file has 25 columns, it need to add 8 more columns with the value of the 0. number of rows for each file is 40.

your help is highly appreciated.


Viewing all articles
Browse latest Browse all 15028

Trending Articles



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