#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 78
Default Hyperlinks

Hi

I have an xlsm file that I have created and it has hyperlinks to
another excel file. These hyperlinks include the tab name and
destination cell. eg: FileName-Current.xlsx#'Graph'!A1

These hyperlinks work fine the Excel file but when I publish to mht or
html, they do not work.

What am I doing wrong?

Regards,

Melanie
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Hyperlinks

The last time I fixed this problem it turned out to be simple. I had to add
the reference "Thisworkbook" in VBA code. You may also need to use
Activeworkbook.

You may have a similar problem with the hyperlinks. you need to use the
complete path name in the hyperlinks. The workbook assumes the default
folder is the same folder where the workbook is located, when you publish the
workbook it doesn't make the same assumptions.

"Melanie" wrote:

Hi

I have an xlsm file that I have created and it has hyperlinks to
another excel file. These hyperlinks include the tab name and
destination cell. eg: FileName-Current.xlsx#'Graph'!A1

These hyperlinks work fine the Excel file but when I publish to mht or
html, they do not work.

What am I doing wrong?

Regards,

Melanie

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 78
Default Hyperlinks

When I mouse over the links on the mht page it appears as though the links
use the entire path to the file. The files are all stored in the same
directory as the mht file as well.

Thanks for you reply!

"Joel" wrote:

The last time I fixed this problem it turned out to be simple. I had to add
the reference "Thisworkbook" in VBA code. You may also need to use
Activeworkbook.

You may have a similar problem with the hyperlinks. you need to use the
complete path name in the hyperlinks. The workbook assumes the default
folder is the same folder where the workbook is located, when you publish the
workbook it doesn't make the same assumptions.

"Melanie" wrote:

Hi

I have an xlsm file that I have created and it has hyperlinks to
another excel file. These hyperlinks include the tab name and
destination cell. eg: FileName-Current.xlsx#'Graph'!A1

These hyperlinks work fine the Excel file but when I publish to mht or
html, they do not work.

What am I doing wrong?

Regards,

Melanie

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Hyperlinks

1) Did you fix the problem?
2) Does the pathname include the drive and backslash at the root folder

c:\

3) Are the link name referencing a XLS file or an MHT file. Does the MHT
file exist?

"Melanie" wrote:

When I mouse over the links on the mht page it appears as though the links
use the entire path to the file. The files are all stored in the same
directory as the mht file as well.

Thanks for you reply!

"Joel" wrote:

The last time I fixed this problem it turned out to be simple. I had to add
the reference "Thisworkbook" in VBA code. You may also need to use
Activeworkbook.

You may have a similar problem with the hyperlinks. you need to use the
complete path name in the hyperlinks. The workbook assumes the default
folder is the same folder where the workbook is located, when you publish the
workbook it doesn't make the same assumptions.

"Melanie" wrote:

Hi

I have an xlsm file that I have created and it has hyperlinks to
another excel file. These hyperlinks include the tab name and
destination cell. eg: FileName-Current.xlsx#'Graph'!A1

These hyperlinks work fine the Excel file but when I publish to mht or
html, they do not work.

What am I doing wrong?

Regards,

Melanie

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 78
Default Hyperlinks

The file that the links are in is an mht file and they point to an xls file
with references to specific worksheets & cells.

When I mouse over the link in the mht file the path is complete with the
computer name, share name and file path.



"Joel" wrote:

1) Did you fix the problem?
2) Does the pathname include the drive and backslash at the root folder

c:\

3) Are the link name referencing a XLS file or an MHT file. Does the MHT
file exist?

"Melanie" wrote:

When I mouse over the links on the mht page it appears as though the links
use the entire path to the file. The files are all stored in the same
directory as the mht file as well.

Thanks for you reply!

"Joel" wrote:

The last time I fixed this problem it turned out to be simple. I had to add
the reference "Thisworkbook" in VBA code. You may also need to use
Activeworkbook.

You may have a similar problem with the hyperlinks. you need to use the
complete path name in the hyperlinks. The workbook assumes the default
folder is the same folder where the workbook is located, when you publish the
workbook it doesn't make the same assumptions.

"Melanie" wrote:

Hi

I have an xlsm file that I have created and it has hyperlinks to
another excel file. These hyperlinks include the tab name and
destination cell. eg: FileName-Current.xlsx#'Graph'!A1

These hyperlinks work fine the Excel file but when I publish to mht or
html, they do not work.

What am I doing wrong?

Regards,

Melanie



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Hyperlinks

I would then think al the computer and foilder need to be shared to get to
the file. then there may be a firewall that prevents you from getting back
to your own PC! UGH!.

Not sure what the solution is. Can a MHT file get linked back to an XLS?
Again not sure. You may want to try a few experiments to isolate the
problem. Edit one link and see if you can get it to work. Make both the
source and destination files MHT and change the link. Try different folders.

"Melanie" wrote:

The file that the links are in is an mht file and they point to an xls file
with references to specific worksheets & cells.

When I mouse over the link in the mht file the path is complete with the
computer name, share name and file path.



"Joel" wrote:

1) Did you fix the problem?
2) Does the pathname include the drive and backslash at the root folder

c:\

3) Are the link name referencing a XLS file or an MHT file. Does the MHT
file exist?

"Melanie" wrote:

When I mouse over the links on the mht page it appears as though the links
use the entire path to the file. The files are all stored in the same
directory as the mht file as well.

Thanks for you reply!

"Joel" wrote:

The last time I fixed this problem it turned out to be simple. I had to add
the reference "Thisworkbook" in VBA code. You may also need to use
Activeworkbook.

You may have a similar problem with the hyperlinks. you need to use the
complete path name in the hyperlinks. The workbook assumes the default
folder is the same folder where the workbook is located, when you publish the
workbook it doesn't make the same assumptions.

"Melanie" wrote:

Hi

I have an xlsm file that I have created and it has hyperlinks to
another excel file. These hyperlinks include the tab name and
destination cell. eg: FileName-Current.xlsx#'Graph'!A1

These hyperlinks work fine the Excel file but when I publish to mht or
html, they do not work.

What am I doing wrong?

Regards,

Melanie

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 78
Default Hyperlinks

The files are all located on your server so they should be accessible.

I think the problem is the links link to specific sheets and cells. I need
them to link that way as all the sheets are in 1 workbook.

I guess an mht file won't work.

Thanks for your help!!!


"Joel" wrote:

I would then think al the computer and foilder need to be shared to get to
the file. then there may be a firewall that prevents you from getting back
to your own PC! UGH!.

Not sure what the solution is. Can a MHT file get linked back to an XLS?
Again not sure. You may want to try a few experiments to isolate the
problem. Edit one link and see if you can get it to work. Make both the
source and destination files MHT and change the link. Try different folders.

"Melanie" wrote:

The file that the links are in is an mht file and they point to an xls file
with references to specific worksheets & cells.

When I mouse over the link in the mht file the path is complete with the
computer name, share name and file path.



"Joel" wrote:

1) Did you fix the problem?
2) Does the pathname include the drive and backslash at the root folder

c:\

3) Are the link name referencing a XLS file or an MHT file. Does the MHT
file exist?

"Melanie" wrote:

When I mouse over the links on the mht page it appears as though the links
use the entire path to the file. The files are all stored in the same
directory as the mht file as well.

Thanks for you reply!

"Joel" wrote:

The last time I fixed this problem it turned out to be simple. I had to add
the reference "Thisworkbook" in VBA code. You may also need to use
Activeworkbook.

You may have a similar problem with the hyperlinks. you need to use the
complete path name in the hyperlinks. The workbook assumes the default
folder is the same folder where the workbook is located, when you publish the
workbook it doesn't make the same assumptions.

"Melanie" wrote:

Hi

I have an xlsm file that I have created and it has hyperlinks to
another excel file. These hyperlinks include the tab name and
destination cell. eg: FileName-Current.xlsx#'Graph'!A1

These hyperlinks work fine the Excel file but when I publish to mht or
html, they do not work.

What am I doing wrong?

Regards,

Melanie

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
Hyperlinks: Hyperlinks change on copy/paste? Rick S. Excel Worksheet Functions 0 November 13th 07 08:19 PM
Update 2000 Excel hyperlinks to 2003 hyperlinks lonv155 Excel Worksheet Functions 4 October 25th 07 05:51 AM
How can I get rid of the hyperlinks Just Me[_2_] Excel Discussion (Misc queries) 1 July 11th 07 03:34 PM
How toi turn-off hyperlinks [excel]? Email hyperlinks pop up ! jacob735 Excel Discussion (Misc queries) 1 June 22nd 07 12:57 AM
Excel Hyperlinks- cell content v. hyperlinks herpetafauna Excel Discussion (Misc queries) 2 May 23rd 06 04:39 AM


All times are GMT +1. The time now is 09:32 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"