LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Problem copying a range to another file

Hi,

This small test macro does not work.
I am trying to copy a range variable to another file.
I cannot figure out why.

Can somebody help?

Sub TestCopy()
' I am working in Windows("1.xls")
Dim PipoRecord As Range
Set PipoRecord = Range("A1:H1")
Windows("2.xls").Activate
Range("A1").Select
Range("PipoRecord").Copy Destination:=ActiveCell
End Sub

Thanks in advance
Bob


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
copying and pasting range problem Henrik Excel Programming 1 November 15th 05 01:49 PM
Problem copying formula to range of cells Bob DePass Setting up and Configuration of Excel 0 July 22nd 05 02:09 AM
Copying range from another file Chente28 Excel Programming 1 June 24th 05 01:43 AM
Problem copying a range to a different workbook [email protected] Excel Programming 3 December 8th 04 01:43 AM
Problem copying range and pasting to multiple sheets Murphy Excel Programming 1 October 9th 03 07:13 PM


All times are GMT +1. The time now is 07:01 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"