Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Help in Excel 2002

Hello and thank you for your time...Here is my scenario. I have created an
audit in one worksheet of Excel 2002.

The audit in worksheet A contains a drop down list to display each of the
ratings (i.e. meets expectations, needs improvement, etc) and another drop
down list to display a list of my 10 employees.

What I would like to know is, how do I create a report from worksheet A in
lets say worksheet B, to reflect each individual employee and their ratings
everytime I choose an employee from the drop down list and keep some kind of
a rolling report whenever I choose a certain employee on the same audit form?

I would be willing to email someone my report for more clarity on this issue.

Thanks in advance!


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Help in Excel 2002

One method would be to use a worksheet change function. Then when the cell
is changed copy the data to the fisrt empty row on a summary worksheet.

to add code, right click tab at bottom of worksheet( normally sheet1).
Select view code. Paste code below on this sheet. Worksheet change
functions are place in VBA sheets pages (not module) and must be put on each
sheet you want the code to run on.


Sub worksheet_change(ByVal Target As Range)

For Each cell In Target
If (cell.Row = 5) And (cell.Column = 6) Then
EmptyRow = Sheets("Summary"). _
Cells(Rows.Count, "A").End(xlUp).Row
If (EmptyRow = 1) And _
IsEmpty(Sheets("Summary").Cells(1, "A")) Then
EmptyRow = 1
Else
EmptyRow = EmptyRow + 1
End If

cell.EntireRow.Copy Destination:= _
Sheets("Summary").Rows(EmptyRow & ":" & EmptyRow)
Exit For
End If
Next cell

End Sub


"Somewhere In Excel 2002" wrote:

Hello and thank you for your time...Here is my scenario. I have created an
audit in one worksheet of Excel 2002.

The audit in worksheet A contains a drop down list to display each of the
ratings (i.e. meets expectations, needs improvement, etc) and another drop
down list to display a list of my 10 employees.

What I would like to know is, how do I create a report from worksheet A in
lets say worksheet B, to reflect each individual employee and their ratings
everytime I choose an employee from the drop down list and keep some kind of
a rolling report whenever I choose a certain employee on the same audit form?

I would be willing to email someone my report for more clarity on this issue.

Thanks in advance!


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Help in Excel 2002

Hi Joel,
Would you mind if I sent you my spreadsheet to show you what I am trying to
do?


Thanks

"Joel" wrote:

One method would be to use a worksheet change function. Then when the cell
is changed copy the data to the fisrt empty row on a summary worksheet.

to add code, right click tab at bottom of worksheet( normally sheet1).
Select view code. Paste code below on this sheet. Worksheet change
functions are place in VBA sheets pages (not module) and must be put on each
sheet you want the code to run on.


Sub worksheet_change(ByVal Target As Range)

For Each cell In Target
If (cell.Row = 5) And (cell.Column = 6) Then
EmptyRow = Sheets("Summary"). _
Cells(Rows.Count, "A").End(xlUp).Row
If (EmptyRow = 1) And _
IsEmpty(Sheets("Summary").Cells(1, "A")) Then
EmptyRow = 1
Else
EmptyRow = EmptyRow + 1
End If

cell.EntireRow.Copy Destination:= _
Sheets("Summary").Rows(EmptyRow & ":" & EmptyRow)
Exit For
End If
Next cell

End Sub


"Somewhere In Excel 2002" wrote:

Hello and thank you for your time...Here is my scenario. I have created an
audit in one worksheet of Excel 2002.

The audit in worksheet A contains a drop down list to display each of the
ratings (i.e. meets expectations, needs improvement, etc) and another drop
down list to display a list of my 10 employees.

What I would like to know is, how do I create a report from worksheet A in
lets say worksheet B, to reflect each individual employee and their ratings
everytime I choose an employee from the drop down list and keep some kind of
a rolling report whenever I choose a certain employee on the same audit form?

I would be willing to email someone my report for more clarity on this issue.

Thanks in advance!


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default Help in Excel 2002

I've given my e-mail address to lots of peoople, one more can't hurt.



"Somewhere In Excel 2002" wrote:

Hi Joel,
Would you mind if I sent you my spreadsheet to show you what I am trying to
do?


Thanks

"Joel" wrote:

One method would be to use a worksheet change function. Then when the cell
is changed copy the data to the fisrt empty row on a summary worksheet.

to add code, right click tab at bottom of worksheet( normally sheet1).
Select view code. Paste code below on this sheet. Worksheet change
functions are place in VBA sheets pages (not module) and must be put on each
sheet you want the code to run on.


Sub worksheet_change(ByVal Target As Range)

For Each cell In Target
If (cell.Row = 5) And (cell.Column = 6) Then
EmptyRow = Sheets("Summary"). _
Cells(Rows.Count, "A").End(xlUp).Row
If (EmptyRow = 1) And _
IsEmpty(Sheets("Summary").Cells(1, "A")) Then
EmptyRow = 1
Else
EmptyRow = EmptyRow + 1
End If

cell.EntireRow.Copy Destination:= _
Sheets("Summary").Rows(EmptyRow & ":" & EmptyRow)
Exit For
End If
Next cell

End Sub


"Somewhere In Excel 2002" wrote:

Hello and thank you for your time...Here is my scenario. I have created an
audit in one worksheet of Excel 2002.

The audit in worksheet A contains a drop down list to display each of the
ratings (i.e. meets expectations, needs improvement, etc) and another drop
down list to display a list of my 10 employees.

What I would like to know is, how do I create a report from worksheet A in
lets say worksheet B, to reflect each individual employee and their ratings
everytime I choose an employee from the drop down list and keep some kind of
a rolling report whenever I choose a certain employee on the same audit form?

I would be willing to email someone my report for more clarity on this issue.

Thanks in advance!

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Help in Excel 2002

Thanks Joel, I just sent my example spreadsheet

"Joel" wrote:

I've given my e-mail address to lots of peoople, one more can't hurt.



"Somewhere In Excel 2002" wrote:

Hi Joel,
Would you mind if I sent you my spreadsheet to show you what I am trying to
do?


Thanks

"Joel" wrote:

One method would be to use a worksheet change function. Then when the cell
is changed copy the data to the fisrt empty row on a summary worksheet.

to add code, right click tab at bottom of worksheet( normally sheet1).
Select view code. Paste code below on this sheet. Worksheet change
functions are place in VBA sheets pages (not module) and must be put on each
sheet you want the code to run on.


Sub worksheet_change(ByVal Target As Range)

For Each cell In Target
If (cell.Row = 5) And (cell.Column = 6) Then
EmptyRow = Sheets("Summary"). _
Cells(Rows.Count, "A").End(xlUp).Row
If (EmptyRow = 1) And _
IsEmpty(Sheets("Summary").Cells(1, "A")) Then
EmptyRow = 1
Else
EmptyRow = EmptyRow + 1
End If

cell.EntireRow.Copy Destination:= _
Sheets("Summary").Rows(EmptyRow & ":" & EmptyRow)
Exit For
End If
Next cell

End Sub


"Somewhere In Excel 2002" wrote:

Hello and thank you for your time...Here is my scenario. I have created an
audit in one worksheet of Excel 2002.

The audit in worksheet A contains a drop down list to display each of the
ratings (i.e. meets expectations, needs improvement, etc) and another drop
down list to display a list of my 10 employees.

What I would like to know is, how do I create a report from worksheet A in
lets say worksheet B, to reflect each individual employee and their ratings
everytime I choose an employee from the drop down list and keep some kind of
a rolling report whenever I choose a certain employee on the same audit form?

I would be willing to email someone my report for more clarity on this issue.

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
Excel 2002: How is the Excel 2007 file format open in Excel 2002 ? Mr. Low Excel Discussion (Misc queries) 2 August 29th 07 11:46 PM
Outlook 2002 calendar dates exported to Excel 2002 sort incorrectl scampbell Excel Worksheet Functions 0 February 22nd 06 06:31 PM
Access 2002 VB Module controlling Excel 2002 spreadsheet -Run-time Mblackmore Excel Programming 0 May 12th 05 07:56 PM
Can you print labels using Excel 2002 in a Word 2002 mail merge? Individual_ Excel Discussion (Misc queries) 3 December 17th 04 08:39 PM
Excel 2002 files attached to Outlook 2002 EMails change size AJStadlin Excel Programming 1 October 15th 03 12:12 AM


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