Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I have written a script that copies data from an input table into specific sheet to track information over time. What this macro does i reference the leftmost column in the table and move as far as it ca left. Then it offsets one column and copies the data in, as follows: Sheets("Total").Select Range("H3").Select Selection.End(xlToRight).Select Selection.Offset(0, 1).Select Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone SkipBlanks _ :=False, Transpose:=False The problem is that if someone hits the macro twice it will copy ont the next column and this shouldnt happen until there is new data. I there a way i can reference a cell that shows the week number, an moves the cursor along to that particular column -- chalk ----------------------------------------------------------------------- chalky's Profile: http://www.excelforum.com/member.php...fo&userid=2375 View this thread: http://www.excelforum.com/showthread.php?threadid=37673 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copying Row Data to Specific Worksheet | Links and Linking in Excel | |||
Specific keywords copying data to cells | Excel Worksheet Functions | |||
copying specific data from 1 wrksht to another | Excel Worksheet Functions | |||
import data to specific columns | Excel Discussion (Misc queries) | |||
Macro Help - copying specific data | Excel Programming |