Need an excel genius
Closed
FilthyShadow
Posts
1
Registration date
Wednesday 18 November 2009
Status
Member
Last seen
19 November 2009
-
19 Nov 2009 à 09:44
venkat1926 Posts 1863 Registration date Sunday 14 June 2009 Status Contributor Last seen 7 August 2021 - 19 Nov 2009 à 21:11
venkat1926 Posts 1863 Registration date Sunday 14 June 2009 Status Contributor Last seen 7 August 2021 - 19 Nov 2009 à 21:11
Related:
- Need an excel genius
- Excel mod apk for pc - Download - Spreadsheets
- Kernel for excel repair - Download - Backup and recovery
- Arrow keys not working in excel - Guide
- Vat calculator excel - Guide
- Transfer data from excel to excel - Guide
1 response
venkat1926
Posts
1863
Registration date
Sunday 14 June 2009
Status
Contributor
Last seen
7 August 2021
811
19 Nov 2009 à 21:11
19 Nov 2009 à 21:11
I have given you an EVENT CODE
modify it if necessary
what it does is when you select any name in range A2 down (row 1 has column headings) in sheet 1 automatically some entries are made in sheet 2 (which is your cover sheet)
if you select another name in sheet 1 column A correspondingly sheet 2 will be changed.
if you select a blank cell nothing happens that is sheet 2 will be blank
the main data in sheet 1 is arranged like this from A1 down and to right
row 1 contains headings. and rest data in the same configuration as you have given in your message.
that is A2 name , B2 phone number, C2 fax like this down.
CONFIRM WHETHER IT IS OK OR YOU NEED SOME CHANGES
How to park this event code
Right click sheet1 tab (repeat sheet 1 tab) and click "view code" . In the window that comes up copy paste the following event code and then test
In the code there is a statement
chnge this xxxx into your name
the event code is
modify it if necessary
what it does is when you select any name in range A2 down (row 1 has column headings) in sheet 1 automatically some entries are made in sheet 2 (which is your cover sheet)
if you select another name in sheet 1 column A correspondingly sheet 2 will be changed.
if you select a blank cell nothing happens that is sheet 2 will be blank
the main data in sheet 1 is arranged like this from A1 down and to right
row 1 contains headings. and rest data in the same configuration as you have given in your message.
that is A2 name , B2 phone number, C2 fax like this down.
CONFIRM WHETHER IT IS OK OR YOU NEED SOME CHANGES
How to park this event code
Right click sheet1 tab (repeat sheet 1 tab) and click "view code" . In the window that comes up copy paste the following event code and then test
In the code there is a statement
myname = "xxxxxxxx"
chnge this xxxx into your name
the event code is
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim myname As String
With Application
.EnableEvents = False
.ScreenUpdating = False
If Target.Column <> 1 Then GoTo eexit
If Target.Address = "$A$1" Then GoTo eexit
If Target = "" Then
Worksheets("sheet2").Cells.Clear
GoTo eexit
End If
If Err.Number <> 0 Then
MsgBox "error occured" & " " & "errornumber=" & Err.Number
GoTo eexit
End If
myname = "xxxxxxxx"
With Worksheets("sheet2")
.Cells.Clear
.Range("a1") = myname
.Range("a3") = "message to person"
.Range("a5") = Target
.Range("B5") = Target.Offset(0, 1)
.Range("C5") = Target.Offset(0, 2)
.Range("a9") = "signed"
End With
eexit:
.ScreenUpdating = True
.EnableEvents = True
End With 'application
End Sub