Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default how to link data from one source sheet to multiple sheets

I have data in 1st Sheet with column labels: Account No, Name & Amount. It
consisits of data of 20 rows for 20 different accounts.
I want to generate 20 worksheets in the same file each of which will pick
the data from sheet 1. Each new generated sheet will pick the data from sheet
1 to a specified cell. (means i would like to have account no of row 1 at C-5
of new sheet, account no of row 2 at C-5 of other new sheet. Can anybody
please suggest can it be automated?
Thanks in advance.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,344
Default how to link data from one source sheet to multiple sheets

Hi,

You will need to automate this with VBA: For example, if your data starts
on row 2 and goes to row 29 on Sheet1 and the titles are in cells A1:C1, then
something like this will work. You can enhance the flexibility by having the
code determine how many rows but that depends on you data layout - are there
missing items in some cells, are there totals at the bottom of columns, is
there other data below the data...

Sub CopyData()
For I = 2 To 21
Sheets.Add
Range("C5:E5") = Sheets("sheet1").Range("A" & I & ":C" & I).Value
Next I
End Sub
--
Cheers,
Shane Devenshire


"Ashish Deshmukh" wrote:

I have data in 1st Sheet with column labels: Account No, Name & Amount. It
consisits of data of 20 rows for 20 different accounts.
I want to generate 20 worksheets in the same file each of which will pick
the data from sheet 1. Each new generated sheet will pick the data from sheet
1 to a specified cell. (means i would like to have account no of row 1 at C-5
of new sheet, account no of row 2 at C-5 of other new sheet. Can anybody
please suggest can it be automated?
Thanks in advance.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default how to link data from one source sheet to multiple sheets

Hello Shane, Thank you very much.
I do not VB but I will try this and get back to you again.
Once again thanks.


"ShaneDevenshire" wrote:

Hi,

You will need to automate this with VBA: For example, if your data starts
on row 2 and goes to row 29 on Sheet1 and the titles are in cells A1:C1, then
something like this will work. You can enhance the flexibility by having the
code determine how many rows but that depends on you data layout - are there
missing items in some cells, are there totals at the bottom of columns, is
there other data below the data...

Sub CopyData()
For I = 2 To 21
Sheets.Add
Range("C5:E5") = Sheets("sheet1").Range("A" & I & ":C" & I).Value
Next I
End Sub
--
Cheers,
Shane Devenshire


"Ashish Deshmukh" wrote:

I have data in 1st Sheet with column labels: Account No, Name & Amount. It
consisits of data of 20 rows for 20 different accounts.
I want to generate 20 worksheets in the same file each of which will pick
the data from sheet 1. Each new generated sheet will pick the data from sheet
1 to a specified cell. (means i would like to have account no of row 1 at C-5
of new sheet, account no of row 2 at C-5 of other new sheet. Can anybody
please suggest can it be automated?
Thanks in advance.

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
Data Sheet populating to multiple sheets Shaun Excel Worksheet Functions 1 February 22nd 07 04:35 PM
Auto link rows of information from multiple sheets to single sheet Steve R Excel Discussion (Misc queries) 3 November 8th 06 06:13 AM
Multiple sheets as data for a single sheet Newbie1092 Excel Worksheet Functions 1 December 19th 05 05:20 PM
Copy tabs(sheets) from workbook without link to original source Rich Ulichny Excel Discussion (Misc queries) 3 August 25th 05 02:11 AM
Copy tabs(sheets) from workbook without link to original source Rich Ulichny Links and Linking in Excel 2 August 9th 05 03:26 PM


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