So, I feel a little dumb asking this, but I've tried to work on it and figure it out all day to no avail, and I figure this is the quickest way to get an answer...
I wrote this code on a machine running excel 2003 and everything seemed to work fine, but I brought it to my iMac at home running 2011 and I seem to get an out of range erro every time I try to run it:
For counter = 1 To 100
Workbooks("test").Sheets("Sheet1").Range("A" & counter & ":K" & counter).Value = Workbooks("test2").Sheets("Sheet1").Range("A" & counter & ":K" & counter).Value
Next counter
I'm just trying to copy a list from one workbook to another one and for some reason, not being able to do it... HELP!!! Thanks!
I wrote this code on a machine running excel 2003 and everything seemed to work fine, but I brought it to my iMac at home running 2011 and I seem to get an out of range erro every time I try to run it:
For counter = 1 To 100
Workbooks("test").Sheets("Sheet1").Range("A" & counter & ":K" & counter).Value = Workbooks("test2").Sheets("Sheet1").Range("A" & counter & ":K" & counter).Value
Next counter
I'm just trying to copy a list from one workbook to another one and for some reason, not being able to do it... HELP!!! Thanks!