We help IT Professionals succeed at work.
Get Started

VB Script to Loop Through Tabs, Copy, Paste Elsewhere

SpartanValor
SpartanValor asked
on
489 Views
Last Modified: 2012-08-14
I need a Macro that will loop through a file and copy a range of data from each sheet into a continuous range on a another sheet or workbook.  The attached filed shows what I need.  Really appreciate your help on this.  Thank you.  

A couple of points:
The row range will change each time I run; can't make an absolute reference. Example: 12/31/09 -> 3/31/10, or 2/28/10 -> 03/31/2010.  I'm fine with requiring I define the value of the LBound and UBound ahead of time. The column range will not change.  The starting cell off the range is always B13.  The tab name will need to be pasted for every record/row copied and pasted.  

Many thanks!
sample.xls
Comment
Watch Question
Top Expert 2008
Commented:
This problem has been solved!
Unlock 1 Answer and 3 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE