Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 08-27-2013, 11:32 AM
funkyfido funkyfido is offline Beginner VBA Windows XP Beginner VBA Office 2007
Novice
Beginner VBA
 
Join Date: Jun 2013
Posts: 24
funkyfido is on a distinguished road
Default Beginner VBA

Hi



I am new to VBA and am looking to automate a simple task.

I currently have a workbook which contains two reports on sheet1. The first report is called members. I want to search for the word "members" and then copy the entire range,across and down to sheet 2 on the same workbook. This range will alter every time I run the report. I have a blank row in between the word "members" and the actual data.

I then have another report, a few blank rows after the above report. i want to search for "premium" and then copy the entire range, across and down to sheet 3 on the same workbook. Again I have a blank row after the work premiums. This range will change every time I run the report.

How do I make my code robust so that regardless of how big my report is I can be sure it will always pick up all the data?
Thanks in advance
Liz
Reply With Quote
 

Tags
activecell, currentregion, vba



Similar Threads
Thread Thread Starter Forum Replies Last Post
Pivot Table- New Beginner JDCCPA Excel 0 04-30-2012 02:30 PM
Beginner VBA Beginner needing help primmer3001 Office 1 08-22-2011 11:28 AM
Beginner VBA Complete beginner needs some help. Biofodder Word VBA 1 03-14-2011 01:49 AM
Beginner VBA HELP...Beginner Leeroy4022 Word VBA 2 02-25-2011 02:16 AM
Just a beginner...be nice please! Tommy Gun Project 1 02-18-2009 03:06 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 05:56 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft