#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 31
Default copying row

when i input a value in certain in column e1 i want that row to be copied to
a different worksheet on a perticular sheet.

i have a woorksheet name activity in column e i input agent no. i have
different worksheet called agent in that worksheet ihave tabs 1,2,3,4, and so
on till 100 i want when i input say no. 5 in activity sheet in column e the
data for that row ranganging from column a to aa should be copied to
worksheet agent.

is it posibble?
--
Nisha P
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default data entering

simply use macro. copy the row open your sheet where you want to paste.
place this code in thisworkbook & worksheet change event targeted to e1 cell.
rajan



nishkrish wrote:

copying row
22-Oct-09

when i input a value in certain in column e1 i want that row to be copied to
a different worksheet on a perticular sheet.

i have a woorksheet name activity in column e i input agent no. i have
different worksheet called agent in that worksheet ihave tabs 1,2,3,4, and so
on till 100 i want when i input say no. 5 in activity sheet in column e the
data for that row ranganging from column a to aa should be copied to
worksheet agent.

is it posibble?
--
Nisha P

Previous Posts In This Thread:

EggHeadCafe - Software Developer Portal of Choice
BOOK REVIEW: Silverlight 2 Unleashed / Bugnion [SAMS]
http://www.eggheadcafe.com/tutorials...lverlight.aspx
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 747
Default copying row

I assumed you has 1 to 100 sheets.

in sheet1 col E, if you input value between 2 to 100 in any of the col
E row,
then from cell A:AA needs to copied and paste into respecitve sheets.

right click on sheet name, view code and paste the below code

Private Sub Worksheet_Change(ByVal Target As Range)
On Error Resume Next
If Target.Column < 5 Or Target.Value = "" Then Exit Sub
A = ActiveSheet.Name
T = Target.Value
rowl = Target.Row
Rng = Sheets(T).Cells(Rows.Count, "A").End(xlUp).Row
Range("A" & rowl & ":AA" & rowl).Copy Sheets(T).Range("A" & Rng + 1)
Sheets(A).Select
Application.CutCopyMode = False

End Sub






On Oct 23, 7:20*am, nishkrish
wrote:
*when i input a value in certain in column e1 i want that row to be copied to
a different worksheet on a perticular sheet.

i have a woorksheet name activity in column e i input agent no. i have
different worksheet called agent in that worksheet ihave tabs 1,2,3,4, and so
on till 100 i want when i input say no. 5 in activity sheet in column e the
data for that row ranganging from column a to aa should be copied to
worksheet agent.

is it posibble?
--
Nisha P


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
copying scott Excel Worksheet Functions 2 August 20th 08 07:22 PM
Copying wayne New Users to Excel 7 July 26th 08 03:00 AM
Copying hassan el touby Excel Discussion (Misc queries) 6 January 8th 08 05:48 PM
copying the Hyperlink function result without copying the actual formula mcheng Excel Worksheet Functions 2 June 9th 07 02:43 AM
Copying neilangelo Excel Discussion (Misc queries) 5 February 1st 06 01:13 PM


All times are GMT +1. The time now is 10:47 PM.

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"