Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default excel 97: copy and paste values from one worksheet to another worksheet

"Tom Ogilvy" wrote in message ...
either of these will work:

Sub FundsMovement()

Application.ScreenUpdating = False


ActiveSheet.Name = "SEIACHDisbursement"
Range("A1").Value = "FromAcct"
Range("B1").Value = "FromIncome"
Range("C1").Value = "FromPrincipal"
Range("D1").Value = "DisbursementCode"
Range("E1").Value = "DisbursementExplanation1"
Range("F1").Value = "DisbursementExplanation2"
Range("G1").Value = "DisbursementExplanation3"
Range("H1").Value = "DisbursementExplanation4"
Range("I1").Value = "DisbursementExplanation5"
Range("J1").Value = "Taxid"
Range("K1").Value = "ToENeeded"
Range("L1").Value = "CUSIP"

'copy and paste specific cells from ftregi_funds_move worksheet (sheet1)
'to SEIACHDisbursements(sheet2)
Worksheets("FTREGI_FUNDS_MOVE").Range("E2").Copy
With Worksheets("SEIACHDisbursement")
.Paste Destination:=.Range("A2")
End With
Application.ScreenUpdating = True

End Sub

or

Sub FundsMovement()

'Application.ScreenUpdating = False


ActiveSheet.Name = "SEIACHDisbursement"
Range("A1").Value = "FromAcct"
Range("B1").Value = "FromIncome"
Range("C1").Value = "FromPrincipal"
Range("D1").Value = "DisbursementCode"
Range("E1").Value = "DisbursementExplanation1"
Range("F1").Value = "DisbursementExplanation2"
Range("G1").Value = "DisbursementExplanation3"
Range("H1").Value = "DisbursementExplanation4"
Range("I1").Value = "DisbursementExplanation5"
Range("J1").Value = "Taxid"
Range("K1").Value = "ToENeeded"
Range("L1").Value = "CUSIP"

'copy and paste specific cells from ftregi_funds_move worksheet (sheet1)
'to SEIACHDisbursements(sheet2)
Worksheets("FTREGI_FUNDS_MOVE").Range("E2").Copy _
Destination:=Worksheets("SEIACHDisbursement").Rang e("A2")

Application.ScreenUpdating = True

End Sub

--
Regards,
Tom Ogilvy

thank you for all of your suggestions:) it works great, though, how
would one copy all of the column values into sheet2 from sheet1 ?
would i need to have to use this method?

Worksheets("FTREGI_FUNDS_MOVE").Range("E2:E100").C opy _
Destination:=Worksheets("SEIACHDisbursement").Rang e("C2:C100")
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default excel 97: copy and paste values from one worksheet to another worksheet

Worksheets("FTREGI_FUNDS_MOVE").Range("E2:E100"). Copy _
Destination:=Worksheets("SEIACHDisbursement").Rang e("C2:C100")

That should work if you don't have any data beyond row 100.

--
Regards,
tom Ogilvy



JMCN wrote in message
om...
"Tom Ogilvy" wrote in message

...
either of these will work:

Sub FundsMovement()

Application.ScreenUpdating = False


ActiveSheet.Name = "SEIACHDisbursement"
Range("A1").Value = "FromAcct"
Range("B1").Value = "FromIncome"
Range("C1").Value = "FromPrincipal"
Range("D1").Value = "DisbursementCode"
Range("E1").Value = "DisbursementExplanation1"
Range("F1").Value = "DisbursementExplanation2"
Range("G1").Value = "DisbursementExplanation3"
Range("H1").Value = "DisbursementExplanation4"
Range("I1").Value = "DisbursementExplanation5"
Range("J1").Value = "Taxid"
Range("K1").Value = "ToENeeded"
Range("L1").Value = "CUSIP"

'copy and paste specific cells from ftregi_funds_move worksheet (sheet1)
'to SEIACHDisbursements(sheet2)
Worksheets("FTREGI_FUNDS_MOVE").Range("E2").Copy
With Worksheets("SEIACHDisbursement")
.Paste Destination:=.Range("A2")
End With
Application.ScreenUpdating = True

End Sub

or

Sub FundsMovement()

'Application.ScreenUpdating = False


ActiveSheet.Name = "SEIACHDisbursement"
Range("A1").Value = "FromAcct"
Range("B1").Value = "FromIncome"
Range("C1").Value = "FromPrincipal"
Range("D1").Value = "DisbursementCode"
Range("E1").Value = "DisbursementExplanation1"
Range("F1").Value = "DisbursementExplanation2"
Range("G1").Value = "DisbursementExplanation3"
Range("H1").Value = "DisbursementExplanation4"
Range("I1").Value = "DisbursementExplanation5"
Range("J1").Value = "Taxid"
Range("K1").Value = "ToENeeded"
Range("L1").Value = "CUSIP"

'copy and paste specific cells from ftregi_funds_move worksheet (sheet1)
'to SEIACHDisbursements(sheet2)
Worksheets("FTREGI_FUNDS_MOVE").Range("E2").Copy _
Destination:=Worksheets("SEIACHDisbursement").Rang e("A2")

Application.ScreenUpdating = True

End Sub

--
Regards,
Tom Ogilvy

thank you for all of your suggestions:) it works great, though, how
would one copy all of the column values into sheet2 from sheet1 ?
would i need to have to use this method?

Worksheets("FTREGI_FUNDS_MOVE").Range("E2:E100").C opy _
Destination:=Worksheets("SEIACHDisbursement").Rang e("C2:C100")



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default excel 97: copy and paste values from one worksheet to another worksheet

"Tom Ogilvy" wrote in message ...
Worksheets("FTREGI_FUNDS_MOVE").Range("E2:E100"). Copy _

Destination:=Worksheets("SEIACHDisbursement").Rang e("C2:C100")

That should work if you don't have any data beyond row 100.

--
Regards,
tom Ogilvy

yes it did work... thanks again!
Reply
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
copy & paste worksheet with print settings into new worksheet Larry Ohio Excel Discussion (Misc queries) 1 December 23rd 09 05:17 PM
Copy / paste from a table in word .doc to excel .xls worksheet Paul Excel Discussion (Misc queries) 1 April 29th 07 03:58 PM
Prevent changing size when copy&paste into another Excel Worksheet Michelle Excel Worksheet Functions 0 June 26th 06 04:30 PM
excel 97: copy and paste values from one worksheet to anotherworksheet Dave Peterson[_3_] Excel Programming 0 September 21st 03 03:03 PM
excel 97: copy and paste values from one worksheet to another worksheet Kathy[_5_] Excel Programming 0 September 21st 03 03:03 PM


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

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

About Us

"It's about Microsoft Excel"