Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
What is wrong with
MyWBRBS.Range("I4").End(xlDown).Copy Destination:=MyWBAccRep.Sheets("Volumes").Cells.Fi nd("latest").ActiveCell.Offset(7, 0) Thanks |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Aug 13, 5:02*pm, Simon wrote:
What is wrong with MyWBRBS.Range("I4").End(xlDown).Copy Destination:=MyWBAccRep.Sheets("Volumes").Cells.Fi nd("latest").ActiveCell.O*ffset(7, 0) Thanks MyWBRBS only has 1 worksheet so it is ok to omit Sheets("RBS") |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
No it's not ok to omit the sheet. The parent of a range is a sheet and not a
workbook. You will get a object or method not defined error... -- HTH... Jim Thomlinson "Simon" wrote: On Aug 13, 5:02 pm, Simon wrote: What is wrong with MyWBRBS.Range("I4").End(xlDown).Copy Destination:=MyWBAccRep.Sheets("Volumes").Cells.Fi nd("latest").ActiveCell.OÂ*ffset(7, 0) Thanks MyWBRBS only has 1 worksheet so it is ok to omit Sheets("RBS") |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
You do not want to use find directly in that statement. If latest is not
found then your code will crash. Additionally you have not specified the prameters of the find so it will use whatever parameters the user had last set. Please check your earlier posts for replies... -- HTH... Jim Thomlinson "Simon" wrote: What is wrong with MyWBRBS.Range("I4").End(xlDown).Copy Destination:=MyWBAccRep.Sheets("Volumes").Cells.Fi nd("latest").ActiveCell.Offset(7, 0) Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
copy between workbooks | Excel Worksheet Functions | |||
Copy/ move selected data from workbooks to seperate worksheets or workbooks | Excel Worksheet Functions | |||
problem with Linking workbooks via "copy" and "paste link" | Excel Discussion (Misc queries) | |||
Copy between workbooks | Excel Programming | |||
copy and paste with 2 different workbooks problem | Excel Worksheet Functions |