Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Automatically update a sheet from another

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.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Automatically update a sheet from another

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.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Automatically update a sheet from another

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.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Automatically update a sheet from another

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
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
update a sheet automatically with changing values from another she QP1 Excel Worksheet Functions 1 July 17th 08 07:54 PM
Update Summary Sheet Automatically MarkT Excel Discussion (Misc queries) 7 December 18th 07 07:43 PM
How can I get data to automatically update using a master sheet? Julia Excel Worksheet Functions 0 July 30th 07 05:58 PM
how do I update a sheet automatically with the info from another? Richard New Users to Excel 3 April 21st 06 08:17 PM
Automatically Update Sheet Names Steve[_79_] Excel Programming 3 October 26th 05 04:39 AM


All times are GMT +1. The time now is 08:48 PM.

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"