Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / September 2007

Tip: Looking for answers? Try searching our database.

Could I jump to another Sheet by clicking on a cell

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jean - 30 Sep 2007 04:47 GMT
Hi,

I would like make a code to Jump from one Sheet (Sheet(client)For example)
to another Sheet (sheet(john)for example) only by clicking on specific
Cell on sheet(client), the text in cell(john) will be the name of the
already created sheet(john)& when sheet(john) become the active sheet the
code on start to quick in?
What I really need to know is if I can call a code by clicking on a
specific cell in a worksheet?
Thank you.

Jean
Gord Dibben - 30 Sep 2007 05:02 GMT
Enter the word John in a cell on client sheet.

Right-click on that cell and "Hyperlink"

Place in this document.

Select John sheet and a cell to jump to and OK

Click on John in client sheet to jump to John sheet.

I don't understand the rest of it.............. "the code on start to quick in?"

Do you want some code to run after you have jumped to John sheet?

If so, sheet activate code can be placed in the module of John sheet.

Private Sub Worksheet_Activate()
  'your code or a call to a macro goes here
End Sub

Gord Dibben  MS Excel MVP

>Hi,
>
[quoted text clipped - 8 lines]
>
>Jean
Jean - 30 Sep 2007 06:15 GMT
> Enter the word John in a cell on client sheet.
>
[quoted text clipped - 31 lines]
>>
>>Jean

Thank you for your response.
This solution is good but I have something as 300 links to do &
I was thinking more as something as ListBox but without Lisbox (cliking
directly in WorkSheet(Client) on the name of the client"John" to call a
code which make a search trough all sheets in the workbook to find the
Sheet with the same name as the one I clicked on the Sheet(Client).
Any Idea?
Thank a lot anyway.

Jean
Ron Coderre - 30 Sep 2007 05:08 GMT
You may not need a program to accomplish what you want.
Try a hyperlink:

From the Excel Main Menu: <insert><hyperlink>
Enter the text to display
Click the [Place in this Document] button
Select the sheet and cell to link to
Click the [OK] button

Is that something you can work with?
--------------------------

Regards,

Ron (XL2003, Win XP)
Microsoft MVP (Excel)

> Hi,
>
[quoted text clipped - 8 lines]
>
> Jean
Jean - 30 Sep 2007 06:15 GMT
> You may not need a program to accomplish what you want.
> Try a hyperlink:
[quoted text clipped - 25 lines]
>>
>> Jean

Thank you for your response.
This solution is good but I have something as 300 links to do &
I was thinking more as something as ListBox but without Lisbox (cliking
directly in WorkSheet(Client) on the name of the client"John" to call a
code which make a search trough all sheets in the workbook to find the
Sheet with the same name as the one I clicked on the Sheet(Client).
Any Idea?
Thank a lot anyway.

Jean
JLGWhiz - 30 Sep 2007 15:23 GMT
I would think that you could load your ListBox with the 300 sheet references
and then use something like:

Worksheets(ListBox1.Value).Activate

in a click event to call the sheet you want.  Of course the sheet references
would have to include the workbook name if not in the same workbook as your
code sheet.
But, it shouild work OK as long as all the workbooks are open.

> > You may not need a program to accomplish what you want.
> > Try a hyperlink:
[quoted text clipped - 36 lines]
>
> Jean
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.