#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default Help! Hyperlinking?

Hello!

Need help putting my idea into actual motion. I have a spreadsheet;
a) Column A is a list of names
b) Columns B, D, F, (skipping a letter each time) etc are figures for
different months (Dec-Jan) for the customers in column A
c) Columns C, E, G (again skipping a column letter) etc are the difference
between each month, i.e Jan-Dec, Feb-Jan, March-Feb etc.

I need the ability to click on one of the customers names in column A, which
would then bring up specific information on that customer - e.g. total
figures for that year (B+D+F etc) and total difference (C+E+G etc).

How could I do this?

Thanks x 1000!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Help! Hyperlinking?

One way of accomplishing this is with a list box. Then when the list box is
changed then you can write a worksheet changge function that bring up the
information you want.

The list box is simple to create using on the Data Menu - validation - List
and then select the cells in column A.

"IoHeFy" wrote:

Hello!

Need help putting my idea into actual motion. I have a spreadsheet;
a) Column A is a list of names
b) Columns B, D, F, (skipping a letter each time) etc are figures for
different months (Dec-Jan) for the customers in column A
c) Columns C, E, G (again skipping a column letter) etc are the difference
between each month, i.e Jan-Dec, Feb-Jan, March-Feb etc.

I need the ability to click on one of the customers names in column A, which
would then bring up specific information on that customer - e.g. total
figures for that year (B+D+F etc) and total difference (C+E+G etc).

How could I do this?

Thanks x 1000!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Help! Hyperlinking?

How about a double-click? In worksheet code put:

Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As
Boolean)
If Intersect(Target, Range("A:A")) Is Nothing Then
Exit Sub
End If
v1 = 0
v2 = 0
j = Target.Row
For i = 2 To 254 Step 2
v1 = v1 + Cells(j, i).Value
v2 = v2 + Cells(j, i + 1).Value
Next
MsgBox (v1 & " " & v2)
Cancel = True
End Sub



REMEMBER Worksheet code, not a standard module
--
Gary''s Student - gsnu200715

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
Dynamic Hyperlinking ? Arjun Chowdhry Excel Discussion (Misc queries) 1 July 3rd 06 03:55 PM
Name a chart for hyperlinking Aurora Charts and Charting in Excel 2 December 5th 05 06:19 PM
Is auto hyperlinking possible? Brisbane Rob Excel Discussion (Misc queries) 0 December 2nd 05 07:44 PM
Hyperlinking Niccalo Excel Worksheet Functions 2 May 31st 05 12:07 PM
Hyperlinking when it shouldn't... B.C.Lioness Excel Worksheet Functions 0 May 17th 05 07:15 PM


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