MrExcel Message Board

Go Back   MrExcel Message Board > Question Forums > Excel Questions

Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only.

Reply
 
Thread Tools Display Modes
Old May 4th, 2002, 09:25 PM   #1
Brian
Board Regular
 
Join Date: Apr 2002
Posts: 113
Default

What is the best way to link to another place in an XL97 workbook?

I could not find any bookmark or goto function. I could do it with VBA and a button, but I prefered a simple hyperlink equation.

My solution was:
S4: =CELL("filename",References!$C$1)

N1: =HYPERLINK(MID($S$4,SEARCH("[",$S$4),LEN($S$4)-SEARCH("[",$S$4)+1)&"!$A$1","REFERENCE")

This works and will accomodate both workbook name and sheet name changes but will fail if the target cell $C$1 is deleted.

I tried Insert > hyperlink, but that failed as soon as I saved the workbook with a new name.

Thanks in advance

Brian
Brian is offline   Reply With Quote
Old May 4th, 2002, 09:32 PM   #2
James
Board Regular
 
Join Date: Feb 2002
Location: Huntington Beach, CA USA
Posts: 327
Default

Hi Brian,

Have you tried changing from absolute to
relative i.e $C$1 to C1?

James
James is offline   Reply With Quote
Old May 4th, 2002, 09:38 PM   #3
Nimrod
MrExcel MVP
 
Join Date: Apr 2002
Location: Vancouver BC , Canada
Posts: 6,259
Default

What's your objective ? Just have value in one cell be reflected in the second ?
I feel I'm not understanding the problem.
Nimrod is offline   Reply With Quote
Old May 4th, 2002, 11:19 PM   #4
Brian
Board Regular
 
Join Date: Apr 2002
Posts: 113
Default

The objective is to have a hyperlink in a cell labelled "Help" that will jump to the "help" sheet.

That's what the existing formula does, but i expected there to be a simpler method (like bookmarks in a word doc).
Brian is offline   Reply With Quote
Old May 4th, 2002, 11:35 PM   #5
Nimrod
MrExcel MVP
 
Join Date: Apr 2002
Location: Vancouver BC , Canada
Posts: 6,259
Default

How about using the "custom view" feature on the "views" menu.
You select the sheet where your help is. Make this a custom view and then just select this view from the "drop down" view list that will appear on the tool bar .

[ This Message was edited by: Nimrod on 2002-05-04 22:35 ]
Nimrod is offline   Reply With Quote
Old May 4th, 2002, 11:38 PM   #6
greg0226
New Member
 
Join Date: Feb 2002
Location: Benicia, CA
Posts: 31
Default

Well the way that i would do it would be to use Defined names. On the "Help Sheet", select the cell (i.e. A1) that you would like the link to take you to and then go INSERT->NAME->DEFINE.
Now just type what you would like to call the define name. I would suggest just calling it Help. Now go back to the original sheet that will have the hyperlink on it. You can either use a button or just type text "Help" and hyperlink that. When using the hyperlink, make sure you use the Defined name of Help as the hyperlink. Not sure how XL97 will prompt you for this, so i can't help you there. Now after you do that, when you click the text or the button it will bring you to that Defined Name which will be on your "Help" Sheet.
I like this method better than just using the hyperlink as "Help!A1" because it will always bring you to that cell even if the tab name has been changed.
Let me know if this works for you. Hopefully i completely understood your question.

Greg
greg0226 is offline   Reply With Quote
Old May 4th, 2002, 11:39 PM   #7
Nimrod
MrExcel MVP
 
Join Date: Apr 2002
Location: Vancouver BC , Canada
Posts: 6,259
Default

Create a view
Change the settings that you want to save in the view. Learn about settings that are saved when you create a view.
On the View menu, click Custom Views.
Show Me
Click Add.
In the Name box, type a name for the view.
Under Include in view, select the options you want.


Display a view
On the View menu, click Custom Views.
In the Views box, click the name of the view you want.


Source is excel help ... just search for infor on "custom views"






Nimrod is offline   Reply With Quote
Old May 4th, 2002, 11:42 PM   #8
Nimrod
MrExcel MVP
 
Join Date: Apr 2002
Location: Vancouver BC , Canada
Posts: 6,259
Default

The nice thing with using the custom view is that you can be on any page of the workbook and access the help sheet by just clicking on it's view on the tool bar.
If you use a particular cell for the helplink then you have extra steps to get to help that don't occur with the custom view.
Nimrod is offline   Reply With Quote
Old May 5th, 2002, 12:33 AM   #9
Brian
Board Regular
 
Join Date: Apr 2002
Posts: 113
Default

Thanks to all.

Yes, Insert Hyperlink > Named Location > Browse > Defined Name > Name does work and withstands file and sheet name changes.

{Note that Insert Hyperlink > Named Location > Browse > Sheet Name > Sheet fails if the sheet name changes, but is ok when the filename changes.)

(Note that simply hyperlink(Name,"Name") does NOT work.)

Custom views are cool! Except that I need to add code to ensure that the custom toolbar is shown (yes, already attached it tho the workbook).

Thanks again,

Brian
Brian is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On

Forum Jump


All times are GMT -4. The time now is 08:56 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
All contents Copyright 1998-2012 by MrExcel Consulting.
diabetic desserts recipes recipes Diabetic Soups Holiday Pizza Recipes Popcorn Recipes Recipes For Microwave Pasta Recipes Casserole Recipes Chili Recipes Curry Recipes Crockpot Recipes Apples Recipes Bread Recipes Vegetarian Recipes Vegetable recipes Desserts Recipes Appetizers Ethnic Recipes Meat Dishes Barbecue Recipes Sauces Recipes Marinade Recipes Low Fat Recipes Frugal Gourmet Kitchen Classics Recipes On The Grill Cook Books Seafood Recipes Cajun Recipes Breads Low Fat Low Fat Breads Bread Machine Recipes Yeast Breads Quick Breads Fat Free Vegetarian Salad Recipes Eggplant Recipes Radish Recipes Tomato Recipes Jalapeno Recipes Potato Recipes Lettuce Recipes Cabbage Recipes Beans Ambrosia Recipes Biscotti Recipes Desserts Low Fat Cookie Recipes Cheesecake Recipes Cake Recipes Pie Recipes Muffin Recipes Custard Recipes Best Appetizers Appetizers Low Fat Salsa Recipes Dip Recipes International Recipes Afghan Recipes Alaska Recipes French Recipes German Recipes Greek Recipes Italian Recipes Spanish Recipes Thai Recipes Korean Recipes Chinese Recipes Mexican Recipes Indian Recipes Beef Recipes Pork Pork & Ham Pork Butts Pork Chop Recipes Pork Ribs Rulled Pork Poultry Recipes Stews Recipes Ground Beef Barbecue Grill Barbecue Smoker All Purpose Sauce BBQ Sauce Barbecue Sauce Carolina BBQ Sauce Pickle Recipes Marinades Smoking Low Fat Appetizers & Dips Low Fat Breakfast Low Fat Cakes Low Fat Cheesecakes Low Fat Cookies Low Fat Desserts Low Fat Fish & Seafood Low Fat Meats Low Fat Pasta Low Fat Pies Low Fat Salads Low Fat Sandwiches Low Fat Sauces & Condiments Low Fat Sides Low Fat Soups Low Fat Vegetarian Baker's Dozen Taste of Home Recipe Book Bon Appetit Cookbook Blacktie Cookbook Buster Cook Book Cookbook USA Cook Book Cook Book Sara's Cookbook Sara's Cookbook Appetizers and Dips Poultry recipes Diabetic recipes Holiday recipes Miscellaneous recipes 110 recipes 1986 Usenet cookbook 2900 recipes Cyberrealm recipes Great sysops of world Specialty recipes Ceideburg recipes Cheese recipes Chili recipes Fruits recipes Garlic recipes Great chefs of NY Londontowne recipes Raisins recipes Recipes for kids US Food Vegetarian recipes Bread recipes Drinks Meat Dishes Brisket recipes Caribou recipes Chicken recipes Filet mignons recipes Pork recipes Swordfish recipes Turkey recipes Pasta recipes Uncategorized recipes Ethnic recipes Canada recipes English recipes Ethiopia recipes Germany recipes Greece recipes Mexican recipes Philippines recipes Welsh recipes Microwave recipes Soups recipes Vegetable recipes Asparagus recipes Barley recipes Brown rice recipes Lentil recipes Mushrooms recipes Salads recipes Wild rice Desserts recipes Cakes recipes Chocolate recipes Cookies recipes Ice cream recipes