Newbie Excel query

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
orion1951
Newbie
Posts: 2
Joined: Sat May 31, 2014 1:19 pm

Newbie Excel query

Post by orion1951 » Sat May 31, 2014 1:28 pm

Hi,

I have columns in one excel workbook and I need to move them to a 2nd workbook. Would it be ok to use the internal VBEval>GetCell() to do this?. The cells are e3 to e30 and some different in other columns, is it possible to copy e3-e30 using VBeval>GetCell?.

Thx,

John

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

Re: Newbie Excel query

Post by Marcus Tettmar » Sat May 31, 2014 8:42 pm

VBEval>GetCell implies a VBScript function called GetCell. That isn't internal.

For "internal" functions you could use a loop with XLGetCell and XLSetCell. XLGetCell to get the cell from the first workbook, XLSetCell to set the second. Loop through each row.

Or record a macro inside Excel which performs the copy. Then if needed, convert that VBA macro to a VBScript macro which runs inside Macro Scheduler:
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