Excel - Manipulate Whole Columns of Data At Once

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
Dominic_Fichera
Pro Scripter
Posts: 82
Joined: Mon Mar 24, 2014 12:15 pm

Excel - Manipulate Whole Columns of Data At Once

Post by Dominic_Fichera » Mon Nov 07, 2016 3:21 am

Hi All,

It's been a while since I've posted here, but was wondering if anyone had any tricks on manipulating whole columns of data at once, more specifically, if there was any way to copy a whole column from one document to another. In my example, I'm opening 4 Excel documents and combining them into one (and in another, I'm combining 4 sheets into 1). At the moment, the script iterated through each row and copies everything cell-by-cell, but this is a pretty slow process when the excel files have close to 100000 rows.

Thanks!

Dominic Fichera

User avatar
Marcus Tettmar
Site Admin
Posts: 7380
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: Excel - Manipulate Whole Columns of Data At Once

Post by Marcus Tettmar » Mon Nov 07, 2016 9:56 am

This seems like an Excel question, not a Macro Scheduler question. But perhaps you want to trigger this from Macro Scheduler.

Excel has VBA which will let you do almost anything. What I would do is record what you want to do in Excel. This will create an Excel VBA macro. Then you can either trigger this macro from Macro Scheduler, or convert the VBA that was produced into VBScript which you can run from within Macro Scheduler.

See: http://help.mjtnet.com/article/19-conve ... o-vbscript
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts