![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
Hello,
I'm searching VBA code that insert a file://mypath\mydata.doc in my mail after he asks me where to find the file (openbox file ?). Is that possible ? I have no particular VBA skills, so... The macro of my dreams : 1) I'm in the body of the message 2) i clic on a macro button 3) A openbox appear and let me choose the file (that is on my intranet under \\gab\datat\...) 4) the maco insert the hyperlink file in the body of my message Have someone an idea ? thanks Gabriel |
#2
|
|||
|
|||
![]()
Am Sun, 23 Apr 2006 20:29:00 +0200 schrieb gabriel:
Unfortunately in Outlook there´s no control for selecting a file. Here´s a sample that uses the Win32 APIs directy: http://www.mvps.org/access/api/api0001.htm If you want to add the url at the current cursor position then you need to use Word as e-mail editor or the Redemption from www.dimatr.com. -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook -- www.vbOffice.net -- Hello, I'm searching VBA code that insert a file://mypath\mydata.doc in my mail after he asks me where to find the file (openbox file ?). Is that possible ? I have no particular VBA skills, so... The macro of my dreams : 1) I'm in the body of the message 2) i clic on a macro button 3) A openbox appear and let me choose the file (that is on my intranet under \\gab\datat\...) 4) the maco insert the hyperlink file in the body of my message Have someone an idea ? thanks Gabriel |
#4
|
|||
|
|||
![]()
Am Mon, 24 Apr 2006 13:04:03 +0200 schrieb gabriel:
I suppose you can comment out that line. -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook -- www.vbOffice.net -- is specific for access does not fit, have vba error (hwnd = Application.hWndAccessApp) ... mfg Gabriel "Michael Bauer" a écrit dans le message de news: ... Am Sun, 23 Apr 2006 20:29:00 +0200 schrieb gabriel: Unfortunately in Outlook there´s no control for selecting a file. Here´s a sample that uses the Win32 APIs directy: http://www.mvps.org/access/api/api0001.htm If you want to add the url at the current cursor position then you need to use Word as e-mail editor or the Redemption from www.dimatr.com. -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook -- www.vbOffice.net -- Hello, I'm searching VBA code that insert a file://mypath\mydata.doc in my mail after he asks me where to find the file (openbox file ?). Is that possible ? I have no particular VBA skills, so... The macro of my dreams : 1) I'm in the body of the message 2) i clic on a macro button 3) A openbox appear and let me choose the file (that is on my intranet under \\gab\datat\...) 4) the maco insert the hyperlink file in the body of my message Have someone an idea ? thanks Gabriel |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Run VBA Code from 'new mail message' on standard toolbar | Carmi | Outlook and VBA | 8 | March 31st 06 05:53 PM |
Using VBA code to move current message to a folder | Dean | Outlook and VBA | 4 | February 26th 06 01:46 AM |
Insert file paths for attachments into message on send. | [email protected] | Outlook and VBA | 1 | February 17th 06 11:08 PM |
Insert a hyperlink to section of Word doc in an outlook message | [email protected] | Outlook - General Queries | 0 | February 8th 06 05:07 AM |
Can I use VBA to activate a hyperlink in Outlook? | [email protected] | Outlook and VBA | 2 | January 18th 06 12:57 AM |