Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-12-2014, 01:00 PM
survivo01 survivo01 is offline using a macro and then go to another row Windows XP using a macro and then go to another row Office 2007
Novice
using a macro and then go to another row
 
Join Date: Aug 2011
Posts: 6
survivo01 is on a distinguished road
Default using a macro and then go to another row

I have a data sheet with Tue, Fri, Sat, Sun.
I want to copy rows Labeled Tues. into another worksheet using a Macro
I want to know is a way I can go to one cell and copy
Then go the next cell four cells down and copy. sheet
I can make the macro work by doing that but is there away to automate going four cells down


What my macro does now is it goes from a worksheet labeled Tues and goes to a worksheet name data. I use the = sign to copy a cell from the data worksheet.
I then use that cell to scoll the rest of that information in my Tues Work sheet. I then repeat the process but only four rows down. Is there a way to automate going 4 cells down

Last edited by survivo01; 08-12-2014 at 01:12 PM. Reason: more infor
Reply With Quote
  #2  
Old 08-12-2014, 10:26 PM
RAJUSINGH.1111 RAJUSINGH.1111 is offline using a macro and then go to another row Windows 7 64bit using a macro and then go to another row Office 2007
Novice
 
Join Date: Aug 2014
Location: New Delhi
Posts: 3
RAJUSINGH.1111 is on a distinguished road
Default

You need to use offset to go another cells down
Sheets("Sheet1).Select
Selection.Offset(Rows,Columns).Select
Selection.Copy
Sheets("Sheet2").Select
Selection.Offset(Rows,Columns).Select
ActiveSheet.Paste
Application.CutCopyMode=False

------------
Raju Singh
Reply With Quote
Reply

Tags
macro, navigation



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro Needed to bold specific lines and Macro to turn into CSV anewteacher Word VBA 1 05-28-2014 03:59 PM
custom icon, undo/redo for macro, permanent macro Rapier Excel 0 08-05-2013 06:30 AM
How do I assign a macro to a button when the macro is in my personal workbook? foolios Excel Programming 2 07-27-2011 02:41 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:45 AM.


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