Advertisement

03.14.2008 at 07:08AM PDT, ID: 23241701
[x]
Attachment Details

excel manage static hyperlink as dynamic hyperlink and add excel filepath to my outlook hyperlink

Asked by wildboy85 in Microsoft Excel Spreadsheet Software, Email Clients

Tags: Microsoft, Excel, 2007, outlook, hyperlink, dynamic, static

SITUATION:
i use this set of macro to copy in clipboard many outlook links, or one only and i end up with the same problem as tlt28gvg121 (See code snipet, sry for the french comments)
i past thoses links in excel 2007

PROBLEM:
excel display "file:///c:\gv\sheet\outlook:90AF9D8E .....".  in tooltip for my links
excel dont reconize my link as an absolute path, it think its relative path, and complete it with actual excel file path

TRIED:
now in the excel document propreties, you can change the default dynamic path, but how to tell the document that all my links are statics, not dynamics?

how to tell excel 2007 to recognize my links as static?
(it work in some excel 2007 computers, but not on some others)

the code snipet is mostly for reference, because my problem is in excel

Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
'====================================================================
' Requires IE v4.0+ write a data to the clipboard (copy to clipboard)
Sub wricli(sText)
   Dim aa As Object
   
   Set aa = CreateObject("InternetExplorer.Application")
   With aa
      .Navigate "about:blank"
      Do Until .ReadyState = 4:  Loop
      With .Document
         .Open
         .Write (sText)
         .Close
         Do Until .ReadyState = "complete": Loop
         .execcommand "SelectAll"
         .execcommand "Copy"
      End With ' document
 
   End With ' IE
   aa.Quit
   Set aa = Nothing
End Sub
 
Sub Copier_hyperlien()
   Dim message As Object
   Dim a As Variant
   Dim b As Variant
   Dim ExplorerMsg As Explorer
   Dim FolderMsg As MAPIFolder 'Dossier d'où provienne les msg à copier
   
   Set FolderMsg = ActiveExplorer.CurrentFolder
   Set ExplorerMsg = FolderMsg.GetExplorer
   
   a = TypeName(Outlook.Application.ActiveWindow)
   If a = "Explorer" Then
      b = ""
      For Each message In ExplorerMsg.Selection
         b = b & coplie(message)
      Next
   '=== si on est dans MESSAGE, seulement le "current"
   ElseIf a = "Inspector" Then
      b = ""
      Set message = Outlook.Application.ActiveInspector.CurrentItem
      b = coplie(message)
   End If
   
   'For Each message In ExplorerMsg.Selection
      
   'Next
   wricli (b)
   
End Sub
Function coplie(message)
   Dim a As String
 
      If TypeOf message Is MailItem Then
         a = a & "<a href=""outlook:" & message.EntryID & """>" & _
         "LIEN OUTLOOK From: " & message.SenderName & _
         " Sujet: " & message.Subject & _
         " Date: " & message.ReceivedTime & _
         " Categorie: " & message.categories & _
         "</a><br>"
      ElseIf TypeOf message Is TaskItem Then
         a = a & "<a href=""outlook:" & message.EntryID & """>" & _
         "LIEN OUTLOOK From: " & message.Owner & _
         " Sujet: " & message.Subject & _
         " Date: " & message.DueDate & _
         " Categorie: " & message.categories & _
         "</a><br>"
      ElseIf TypeOf message Is ReportItem Then
         a = a & "<a href=""outlook:" & message.EntryID & """>" & _
         "LIEN OUTLOOK From: " & message.Owner & _
         " Sujet: " & message.Subject & _
         " Date: " & message.CreationTime & _
         " Categorie: " & message.categories & _
         "</a><br>"
      Else
         a = a & "ERREUR - Un item dans votre sélection n'est pas un message ou tâche - pas de lien<br>"
      End If
   coplie = a
 
End Function
[+][-]03.17.2008 at 11:20AM PDT, ID: 21144710

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.18.2008 at 12:06AM PDT, ID: 21148870

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.18.2008 at 03:08AM PDT, ID: 21149497

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.18.2008 at 08:39AM PDT, ID: 21152201

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]03.18.2008 at 10:11AM PDT, ID: 21153342

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.18.2008 at 10:16AM PDT, ID: 21153410

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.18.2008 at 10:06PM PDT, ID: 21158648

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]03.19.2008 at 06:48AM PDT, ID: 21161471

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.19.2008 at 07:29AM PDT, ID: 21161907

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.19.2008 at 11:01AM PDT, ID: 21164047

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.19.2008 at 11:31PM PDT, ID: 21168736

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.20.2008 at 12:55AM PDT, ID: 21168981

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.20.2008 at 06:39AM PDT, ID: 21171277

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.20.2008 at 08:07AM PDT, ID: 21172254

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.20.2008 at 09:25AM PDT, ID: 21173097

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03.20.2008 at 01:49PM PDT, ID: 21175730

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Microsoft Excel Spreadsheet Software, Email Clients
Tags: Microsoft, Excel, 2007, outlook, hyperlink, dynamic, static
Sign Up Now!
Solution Provided By: tlt28gvg121
Participating Experts: 2
Solution Grade: A
 
 
[+][-]03.25.2008 at 07:54AM PDT, ID: 21202479

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03.25.2008 at 08:52AM PDT, ID: 21203036

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_Related_20080208