Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I'm very new to all this and used the record macro function to copy part of a range of data from one workbook to another using paste values only. Being a complete beginner I was so pleased when it worked beautifully (my first time :-) ) but then realised that the range will change each month as more data added. Could anyone please suggest a way to edit this macro so that it recognises the end of the data entry. There are formulae in columns A, E and I-N in the source workbook Sub Macro1() ' ' Macro1 Macro ' Macro recorded 25/02/2006 by Mifty ' ' Keyboard Shortcut: Ctrl+a ' Range("E3:N10").Select Selection.Copy Workbooks.Open Filename:= _ "C:\Documents and Settings\TEMP\My Documents\Destination.xls" Range("A3").Select Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _ :=False, Transpose:=False End Sub Many thanks -- Mifty |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Changing the range for averages with out changing the formula. | Excel Worksheet Functions | |||
Copying formulas without changing the range | Excel Discussion (Misc queries) | |||
COPYING OFFSET FORMULA WITHOUT THE DATA RANGE CHANGING-DESPERATE | Excel Worksheet Functions | |||
Copying a named range with a changing cell reference | New Users to Excel | |||
Selecting & Copying a Changing Range | Excel Programming |