Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 122
Default big problem selecting and saving data

Hi,

I'am struggling with the following...

on sheet1 i have the folowing columns containing the data ofemployees

In cell A1: the company name
B: name
C: date of birth
D: age
E: salary
F: parttime%

There could be x (different for eacht company) people in the sheet

when the project is closed, i would like to save the data of the employees in
sheet2 in the columns:
A: name of the company
B: name employee
C: date of birth
D: salary
E: parttime%

note: not all columns of sheet 1 need to be saved, just a few.

Each time a company is put in it should add the employees on sheet 2 to the
list of employees. So sheet2 can contain multiple employees of multiple
companies and sheet1 will contain only the employees of one company.

Does anybody have the code to be able to save the data from sheet1 in sheet 2
(starting from the last empty row)
I would be much obliged !!
Pierre


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200509/1
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,090
Default big problem selecting and saving data

Pierre
Your explanation of what you have and what you want to happen is
somewhat convoluted and difficult to follow. Here is what I think you have
and what you want.
You have a sheet, say Sheet2. It has a listing of companies in Column
A. The rest of the columns have data for a specific employee in each row.
You have another sheet, say Sheet1. It is blank except for column
headers in Columns B:F. You want to type the name of a company in cell A1
of Sheet1. When you do so, you want Excel to extract all the employee data
corresponding to that one company from Sheet2 and place that data in Sheet1.
Is this correct? HTH Otto
"Pierre via OfficeKB.com" <u13950@uwe wrote in message
news:550e3ee6bb267@uwe...
Hi,

I'am struggling with the following...

on sheet1 i have the folowing columns containing the data ofemployees

In cell A1: the company name
B: name
C: date of birth
D: age
E: salary
F: parttime%

There could be x (different for eacht company) people in the sheet

when the project is closed, i would like to save the data of the employees
in
sheet2 in the columns:
A: name of the company
B: name employee
C: date of birth
D: salary
E: parttime%

note: not all columns of sheet 1 need to be saved, just a few.

Each time a company is put in it should add the employees on sheet 2 to
the
list of employees. So sheet2 can contain multiple employees of multiple
companies and sheet1 will contain only the employees of one company.

Does anybody have the code to be able to save the data from sheet1 in
sheet 2
(starting from the last empty row)
I would be much obliged !!
Pierre


--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200509/1



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 122
Default big problem selecting and saving data

Hi otto,

yes, you are correct.
can you help ?

By the way, i'am also looking for a solution the other way....that is to save
all employees of this particular company in sheet 2.

Otto Moehrbach wrote:
Pierre
Your explanation of what you have and what you want to happen is
somewhat convoluted and difficult to follow. Here is what I think you have
and what you want.
You have a sheet, say Sheet2. It has a listing of companies in Column
A. The rest of the columns have data for a specific employee in each row.
You have another sheet, say Sheet1. It is blank except for column
headers in Columns B:F. You want to type the name of a company in cell A1
of Sheet1. When you do so, you want Excel to extract all the employee data
corresponding to that one company from Sheet2 and place that data in Sheet1.
Is this correct? HTH Otto
Hi,

[quoted text clipped - 32 lines]
I would be much obliged !!
Pierre



--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200509/1
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,090
Default big problem selecting and saving data

Pierre
I don't know what you mean when you say "save". To save a file is to
write it to disk. Obviously you mean something else when you say you want
to save data to Sheet2. Do you mean copy to Sheet2? From where?
If you wish, send me direct via email a small file showing what you have on
each of the two sheets. Then include some examples of what you want Excel
to do. Assume that I know nothing about what you have, what you are doing,
and what you want Excel to do. Also tell me the version of Excel you are
using. My email address is . Remove the "nop" from
this address. HTH Otto
"Pierre via OfficeKB.com" <u13950@uwe wrote in message
news:5521b7ec1b2e1@uwe...
Hi otto,

yes, you are correct.
can you help ?

By the way, i'am also looking for a solution the other way....that is to
save
all employees of this particular company in sheet 2.

Otto Moehrbach wrote:
Pierre
Your explanation of what you have and what you want to happen is
somewhat convoluted and difficult to follow. Here is what I think you
have
and what you want.
You have a sheet, say Sheet2. It has a listing of companies in Column
A. The rest of the columns have data for a specific employee in each row.
You have another sheet, say Sheet1. It is blank except for column
headers in Columns B:F. You want to type the name of a company in cell A1
of Sheet1. When you do so, you want Excel to extract all the employee
data
corresponding to that one company from Sheet2 and place that data in
Sheet1.
Is this correct? HTH Otto
Hi,

[quoted text clipped - 32 lines]
I would be much obliged !!
Pierre



--
Message posted via OfficeKB.com
http://www.officekb.com/Uwe/Forums.a...mming/200509/1


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
Problem in the data of the file in the FTP after the saving of excelsheets Yuvraj Excel Discussion (Misc queries) 10 June 11th 09 02:18 PM
Problem with selecting cells FiluDlidu Excel Discussion (Misc queries) 2 November 28th 06 10:10 PM
saving to two places by selecting one (VBA) tim64[_9_] Excel Programming 10 June 17th 05 11:41 PM
saving to two folders by selecting one timmy64 - ExcelForums.com Excel Programming 0 June 17th 05 05:06 PM
problem with selecting something solo_razor[_2_] Excel Programming 0 September 15th 03 12:22 PM


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