Need an excel genius
Closed
FilthyShadow
Posts
1
Registration date
Wednesday November 18, 2009
Status
Member
Last seen
November 19, 2009
-
Nov 19, 2009 at 09:44 AM
venkat1926 Posts 1863 Registration date Sunday June 14, 2009 Status Contributor Last seen August 7, 2021 - Nov 19, 2009 at 09:11 PM
venkat1926 Posts 1863 Registration date Sunday June 14, 2009 Status Contributor Last seen August 7, 2021 - Nov 19, 2009 at 09:11 PM
Related:
- Need an excel genius
- Excel mod apk for pc - Download - Spreadsheets
- Kernel for excel repair - Download - Backup and recovery
- Vat calculation excel - Guide
- Menu déroulant excel - Guide
- Excel online macros - Guide
1 response
venkat1926
Posts
1863
Registration date
Sunday June 14, 2009
Status
Contributor
Last seen
August 7, 2021
811
Nov 19, 2009 at 09:11 PM
Nov 19, 2009 at 09:11 PM
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