PC Review


Reply
Thread Tools Rate Thread

CLICK THEN GO TO NAME ON SEPARATE WORKSHEET

 
 
=?Utf-8?B?ZG1zaHVybGV5?=
Guest
Posts: n/a
 
      17th Sep 2007
I have two worksheets:


1st Worksheet named, "Contact Master"
Contact Master

COMPANY Position Name
FD Roustabout Albarado, Justin
FD Welder Atchley, Brian
FD ABCO Bailey, Jason

2nd Worksheet named "Master Schedule"
Name Position
Arnold, Benjamin Roustabout
Sage, Richard Roustabout

I want to click on the name in contact master and have it take me to the
exact same name in the 2nd worksheet. When using hyperlink I am unable to
specify the specific name I want it to find.

Please help. I've been trying to figure this out for weeks. Vlookup and
Hlookup haven't worked.

(E-Mail Removed)




 
Reply With Quote
 
 
 
 
=?Utf-8?B?R2FyeScncyBTdHVkZW50?=
Guest
Posts: n/a
 
      18th Sep 2007
How about double-click??

Put the following in worksheet code for the first sheet:

Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As
Boolean)
Dim v As String, v2 As String
Cancel = True
v = Target.Value
n = Sheets("Sheet2").Cells(Rows.Count, 1).End(xlUp).Row
For i = 1 To n
v2 = Sheets("Sheet2").Cells(i, 1).Value
If v2 = v Then
Sheets("Sheet2").Activate
Sheets("Sheet2").Cells(i, 1).Select
Exit Sub
End If
Next
MsgBox ("not found")
End Sub

--
Gary''s Student - gsnu200745


"dmshurley" wrote:

> I have two worksheets:
>
>
> 1st Worksheet named, "Contact Master"
> Contact Master
>
> COMPANY Position Name
> FD Roustabout Albarado, Justin
> FD Welder Atchley, Brian
> FD ABCO Bailey, Jason
>
> 2nd Worksheet named "Master Schedule"
> Name Position
> Arnold, Benjamin Roustabout
> Sage, Richard Roustabout
>
> I want to click on the name in contact master and have it take me to the
> exact same name in the 2nd worksheet. When using hyperlink I am unable to
> specify the specific name I want it to find.
>
> Please help. I've been trying to figure this out for weeks. Vlookup and
> Hlookup haven't worked.
>
> (E-Mail Removed)
>
>
>
>

 
Reply With Quote
 
=?Utf-8?B?ZG1zaHVybGV5?=
Guest
Posts: n/a
 
      18th Sep 2007
Where do I insert the code. I tried a macro, but it didn't work...

"Gary''s Student" wrote:

> How about double-click??
>
> Put the following in worksheet code for the first sheet:
>
> Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As
> Boolean)
> Dim v As String, v2 As String
> Cancel = True
> v = Target.Value
> n = Sheets("Sheet2").Cells(Rows.Count, 1).End(xlUp).Row
> For i = 1 To n
> v2 = Sheets("Sheet2").Cells(i, 1).Value
> If v2 = v Then
> Sheets("Sheet2").Activate
> Sheets("Sheet2").Cells(i, 1).Select
> Exit Sub
> End If
> Next
> MsgBox ("not found")
> End Sub
>
> --
> Gary''s Student - gsnu200745
>
>
> "dmshurley" wrote:
>
> > I have two worksheets:
> >
> >
> > 1st Worksheet named, "Contact Master"
> > Contact Master
> >
> > COMPANY Position Name
> > FD Roustabout Albarado, Justin
> > FD Welder Atchley, Brian
> > FD ABCO Bailey, Jason
> >
> > 2nd Worksheet named "Master Schedule"
> > Name Position
> > Arnold, Benjamin Roustabout
> > Sage, Richard Roustabout
> >
> > I want to click on the name in contact master and have it take me to the
> > exact same name in the 2nd worksheet. When using hyperlink I am unable to
> > specify the specific name I want it to find.
> >
> > Please help. I've been trying to figure this out for weeks. Vlookup and
> > Hlookup haven't worked.
> >
> > (E-Mail Removed)
> >
> >
> >
> >

 
Reply With Quote
 
=?Utf-8?B?ZG1zaHVybGV5?=
Guest
Posts: n/a
 
      19th Sep 2007
Okay,
I finally got it to work if I double click on the name in contact master,
but now I would like to do the exact same thing from the Master Schedule Name
column.

"Gary''s Student" wrote:

> How about double-click??
>
> Put the following in worksheet code for the first sheet:
>
> Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As
> Boolean)
> Dim v As String, v2 As String
> Cancel = True
> v = Target.Value
> n = Sheets("Sheet2").Cells(Rows.Count, 1).End(xlUp).Row
> For i = 1 To n
> v2 = Sheets("Sheet2").Cells(i, 1).Value
> If v2 = v Then
> Sheets("Sheet2").Activate
> Sheets("Sheet2").Cells(i, 1).Select
> Exit Sub
> End If
> Next
> MsgBox ("not found")
> End Sub
>
> --
> Gary''s Student - gsnu200745
>
>
> "dmshurley" wrote:
>
> > I have two worksheets:
> >
> >
> > 1st Worksheet named, "Contact Master"
> > Contact Master
> >
> > COMPANY Position Name
> > FD Roustabout Albarado, Justin
> > FD Welder Atchley, Brian
> > FD ABCO Bailey, Jason
> >
> > 2nd Worksheet named "Master Schedule"
> > Name Position
> > Arnold, Benjamin Roustabout
> > Sage, Richard Roustabout
> >
> > I want to click on the name in contact master and have it take me to the
> > exact same name in the 2nd worksheet. When using hyperlink I am unable to
> > specify the specific name I want it to find.
> >
> > Please help. I've been trying to figure this out for weeks. Vlookup and
> > Hlookup haven't worked.
> >
> > (E-Mail Removed)
> >
> >
> >
> >

 
Reply With Quote
 
=?Utf-8?B?R2FyeScncyBTdHVkZW50?=
Guest
Posts: n/a
 
      20th Sep 2007
Check back tomorrow!
--
Gary''s Student - gsnu200745


"dmshurley" wrote:

> Okay,
> I finally got it to work if I double click on the name in contact master,
> but now I would like to do the exact same thing from the Master Schedule Name
> column.
>
> "Gary''s Student" wrote:
>
> > How about double-click??
> >
> > Put the following in worksheet code for the first sheet:
> >
> > Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As
> > Boolean)
> > Dim v As String, v2 As String
> > Cancel = True
> > v = Target.Value
> > n = Sheets("Sheet2").Cells(Rows.Count, 1).End(xlUp).Row
> > For i = 1 To n
> > v2 = Sheets("Sheet2").Cells(i, 1).Value
> > If v2 = v Then
> > Sheets("Sheet2").Activate
> > Sheets("Sheet2").Cells(i, 1).Select
> > Exit Sub
> > End If
> > Next
> > MsgBox ("not found")
> > End Sub
> >
> > --
> > Gary''s Student - gsnu200745
> >
> >
> > "dmshurley" wrote:
> >
> > > I have two worksheets:
> > >
> > >
> > > 1st Worksheet named, "Contact Master"
> > > Contact Master
> > >
> > > COMPANY Position Name
> > > FD Roustabout Albarado, Justin
> > > FD Welder Atchley, Brian
> > > FD ABCO Bailey, Jason
> > >
> > > 2nd Worksheet named "Master Schedule"
> > > Name Position
> > > Arnold, Benjamin Roustabout
> > > Sage, Richard Roustabout
> > >
> > > I want to click on the name in contact master and have it take me to the
> > > exact same name in the 2nd worksheet. When using hyperlink I am unable to
> > > specify the specific name I want it to find.
> > >
> > > Please help. I've been trying to figure this out for weeks. Vlookup and
> > > Hlookup haven't worked.
> > >
> > > (E-Mail Removed)
> > >
> > >
> > >
> > >

 
Reply With Quote
 
=?Utf-8?B?ZG1zaHVybGV5?=
Guest
Posts: n/a
 
      20th Sep 2007
It worked!!!!! Thanks!!

Do you know what I should do to add new records automatically from the
Contact Master fields to the Master Schedule? Several fields are the same
name, such as Name, Position, Company, ....

"Gary''s Student" wrote:

> Check back tomorrow!
> --
> Gary''s Student - gsnu200745
>
>
> "dmshurley" wrote:
>
> > Okay,
> > I finally got it to work if I double click on the name in contact master,
> > but now I would like to do the exact same thing from the Master Schedule Name
> > column.
> >
> > "Gary''s Student" wrote:
> >
> > > How about double-click??
> > >
> > > Put the following in worksheet code for the first sheet:
> > >
> > > Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As
> > > Boolean)
> > > Dim v As String, v2 As String
> > > Cancel = True
> > > v = Target.Value
> > > n = Sheets("Sheet2").Cells(Rows.Count, 1).End(xlUp).Row
> > > For i = 1 To n
> > > v2 = Sheets("Sheet2").Cells(i, 1).Value
> > > If v2 = v Then
> > > Sheets("Sheet2").Activate
> > > Sheets("Sheet2").Cells(i, 1).Select
> > > Exit Sub
> > > End If
> > > Next
> > > MsgBox ("not found")
> > > End Sub
> > >
> > > --
> > > Gary''s Student - gsnu200745
> > >
> > >
> > > "dmshurley" wrote:
> > >
> > > > I have two worksheets:
> > > >
> > > >
> > > > 1st Worksheet named, "Contact Master"
> > > > Contact Master
> > > >
> > > > COMPANY Position Name
> > > > FD Roustabout Albarado, Justin
> > > > FD Welder Atchley, Brian
> > > > FD ABCO Bailey, Jason
> > > >
> > > > 2nd Worksheet named "Master Schedule"
> > > > Name Position
> > > > Arnold, Benjamin Roustabout
> > > > Sage, Richard Roustabout
> > > >
> > > > I want to click on the name in contact master and have it take me to the
> > > > exact same name in the 2nd worksheet. When using hyperlink I am unable to
> > > > specify the specific name I want it to find.
> > > >
> > > > Please help. I've been trying to figure this out for weeks. Vlookup and
> > > > Hlookup haven't worked.
> > > >
> > > > (E-Mail Removed)
> > > >
> > > >
> > > >
> > > >

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Separate worksheet in separate workbook as macro dranon Microsoft Excel Discussion 5 3rd May 2009 03:41 AM
Can I click on a cell on one worksheet and make it take me to another worksheet steve12345 Microsoft Excel New Users 6 26th Jan 2008 10:55 PM
Using a Worksheet Form to add data to a separate worksheet databas =?Utf-8?B?UmF3Ymx5bg==?= Microsoft Excel Worksheet Functions 3 7th Mar 2006 08:17 PM
How do I separate a worksheet into many files? =?Utf-8?B?QWxpY2lh?= Microsoft Excel Misc 1 15th Feb 2006 07:08 PM
Copying Worksheet triggers Click event of combobox on another worksheet Robert Microsoft Excel Programming 0 23rd Jan 2004 07:40 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:35 AM.