Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 6
Default Enter info in one sheet, auto enter in another based on one field

Hi, I'm new to excel and need very step by step basic directions :)
on how to do the following:

I have a database of names/addresses and whether or not the company is
private.
1) I want to keep a main sheet of ALL information entered
2) I want the data from one row to automatically enter into the other
appropriate sheet as I type it in

For example (and this is simplified): USDA 123 Washington Government
I would want this on the main sheet and to enter itself on the GOVERNMENT
sheet

thanks in advance for any help

  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 43
Default Enter info in one sheet, auto enter in another based on one field

Sure,

You can use an Worksheet_Change event. You didn't mention any specific
ranges, so I'll just give an example:

Private Sub Worksheet_Change(ByVal Target As Range)
' Code goes in the Worksheet specific module
Dim rng As Range
' Set Target Range
Set rng = Range("D:D")
' Only look at single cell changes
If Target.Count 1 Then Exit Sub
' Only look at that range
If Intersect(Target, rng) Is Nothing Then Exit Sub
' Action if Condition(s) are met
Target.EntireRow.Copy Sheets(Target.Text).Cells(Rows.Count,
"A").End(xlUp).Offset(1)
End Sub

Where column D is the relevant sheet name is selected.

Hope that helps,

Smitty

"The BusyHighLighter" wrote:

Hi, I'm new to excel and need very step by step basic directions :)
on how to do the following:

I have a database of names/addresses and whether or not the company is
private.
1) I want to keep a main sheet of ALL information entered
2) I want the data from one row to automatically enter into the other
appropriate sheet as I type it in

For example (and this is simplified): USDA 123 Washington Government
I would want this on the main sheet and to enter itself on the GOVERNMENT
sheet

thanks in advance for any help

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
Auto enter date when data in enter in another cell Brian Excel Worksheet Functions 5 December 7th 06 06:44 PM
Lookup info in support sheets and enter in summary sheet WendiL99 Excel Discussion (Misc queries) 4 June 21st 06 05:34 PM
Auto-Enter Data from One Sheet to Another Christopher in Bellefontaine Excel Discussion (Misc queries) 4 April 24th 05 03:57 AM
Auto-Enter Value Based on Table (EXCEL 2002) Christopher in Bellefontaine Excel Worksheet Functions 2 April 24th 05 03:33 AM
auto enter cell info like lotus Zed Setting up and Configuration of Excel 1 March 11th 05 07:53 AM


All times are GMT +1. The time now is 07:04 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"