PC Review


Reply
Thread Tools Rate Thread

Automatically update a sheet from another

 
 
=?Utf-8?B?Q2hyaXMgUmVlcw==?=
Guest
Posts: n/a
 
      29th Aug 2007
I am creating a spreadsheet for other people to use in which they fill in an
overview page which then feeds into 5 other sheets.

Which sheet the data feeds into is specified by a single column but all the
data around 60 columns needs to also be copied across to the the other
sheets. I would prefer not to do lots of if statements as this would slow
down the speed of the computer the users will be working on.

Finally if this is possible and requires a macro I would like it to run
automatically and not involve the user clicking on a button or equivalent.

Is any of this possible, a huge thank you to anyone who can help.
 
Reply With Quote
 
 
 
 
=?Utf-8?B?Sm9lbA==?=
Guest
Posts: n/a
 
      29th Aug 2007
I think a worksheet_change macro will work. You can have the macro
automatically copy the data entered in one column to another sheet as well as
copying data in other columns. You can have a choice of copying the data or
linking the data between the worksheets by having the macro write a formula
instead of the data.

"Chris Rees" wrote:

> I am creating a spreadsheet for other people to use in which they fill in an
> overview page which then feeds into 5 other sheets.
>
> Which sheet the data feeds into is specified by a single column but all the
> data around 60 columns needs to also be copied across to the the other
> sheets. I would prefer not to do lots of if statements as this would slow
> down the speed of the computer the users will be working on.
>
> Finally if this is possible and requires a macro I would like it to run
> automatically and not involve the user clicking on a button or equivalent.
>
> Is any of this possible, a huge thank you to anyone who can help.

 
Reply With Quote
 
=?Utf-8?B?Q2hyaXMgUmVlcw==?=
Guest
Posts: n/a
 
      29th Aug 2007
Do you know where I could find an example of a worksheet_change macro?

"Joel" wrote:

> I think a worksheet_change macro will work. You can have the macro
> automatically copy the data entered in one column to another sheet as well as
> copying data in other columns. You can have a choice of copying the data or
> linking the data between the worksheets by having the macro write a formula
> instead of the data.
>
> "Chris Rees" wrote:
>
> > I am creating a spreadsheet for other people to use in which they fill in an
> > overview page which then feeds into 5 other sheets.
> >
> > Which sheet the data feeds into is specified by a single column but all the
> > data around 60 columns needs to also be copied across to the the other
> > sheets. I would prefer not to do lots of if statements as this would slow
> > down the speed of the computer the users will be working on.
> >
> > Finally if this is possible and requires a macro I would like it to run
> > automatically and not involve the user clicking on a button or equivalent.
> >
> > Is any of this possible, a huge thank you to anyone who can help.

 
Reply With Quote
 
=?Utf-8?B?Sm9lbA==?=
Guest
Posts: n/a
 
      29th Aug 2007
To add code, go to tab at botttom of worksheet (normally sheet1) and right
click. Then choose view code. Paste code below in window.

worksheet_change functoin only works on one worksheet (the sheet where the
code was placed). code below when data is entered in column 5 ("E") will
copy the entire row of data to sheet2.

Sub worksheet_change(ByVal Target As Range)

For Each cell In Target

If Target.Column = 5 Then

Target.EntireRow.Copy Destination:= _
Sheets("Sheet2").Rows(Target.Row)

End If

Next cell


End Sub


"Chris Rees" wrote:

> Do you know where I could find an example of a worksheet_change macro?
>
> "Joel" wrote:
>
> > I think a worksheet_change macro will work. You can have the macro
> > automatically copy the data entered in one column to another sheet as well as
> > copying data in other columns. You can have a choice of copying the data or
> > linking the data between the worksheets by having the macro write a formula
> > instead of the data.
> >
> > "Chris Rees" wrote:
> >
> > > I am creating a spreadsheet for other people to use in which they fill in an
> > > overview page which then feeds into 5 other sheets.
> > >
> > > Which sheet the data feeds into is specified by a single column but all the
> > > data around 60 columns needs to also be copied across to the the other
> > > sheets. I would prefer not to do lots of if statements as this would slow
> > > down the speed of the computer the users will be working on.
> > >
> > > Finally if this is possible and requires a macro I would like it to run
> > > automatically and not involve the user clicking on a button or equivalent.
> > >
> > > Is any of this possible, a huge thank you to anyone who can help.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
update a sheet automatically with changing values from another she QP1 Microsoft Excel Worksheet Functions 1 17th Jul 2008 07:54 PM
Update Summary Sheet Automatically MarkT Microsoft Excel Misc 7 18th Dec 2007 07:43 PM
how do I update a sheet automatically with the info from another? =?Utf-8?B?UmljaGFyZA==?= Microsoft Excel New Users 3 21st Apr 2006 08:17 PM
Automatically Update Sheet Names Steve Microsoft Excel Programming 3 26th Oct 2005 04:39 AM
Help - update one sheet from 11 other sheets automatically marsh Microsoft Excel Misc 1 11th Aug 2004 08:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:32 PM.