Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Need some simple code (http://www.outlookbanter.com/outlook-vba/7241-need-some-simple-code.html)

Dave Neve January 14th 06 08:25 AM

Need some simple code
 
Hello

Sorry but I have never mastered VBA

I'd like to have a macro to open a program (see below)

What is the VBA code for this simple operation please?

Thanks

C:\Documents and Settings\Dave Neve\Application
Data\Microsoft\Outlook\Outlook.NK2



Michael Bednarek January 14th 06 01:50 PM

Need some simple code
 
On Sat, 14 Jan 2006 09:25:13 +0100, Dave Neve wrote in
microsoft.public.outlook.program_vba:

Sorry but I have never mastered VBA

I'd like to have a macro to open a program (see below)

What is the VBA code for this simple operation please?

Thanks

C:\Documents and Settings\Dave Neve\Application
Data\Microsoft\Outlook\Outlook.NK2


That is not a program, it's an Outlook data file. Why do you want to
open it?

--
Michael Bednarek http://mbednarek.com/ "POST NO BILLS"

Dave Neve January 14th 06 03:13 PM

Need some simple code
 
Hi

You're right. I didn't look at what I had pasted.

I should have said code to open

C:\Program Files\nicknameXP.exe

cos I need to get a handle on my nickname cache

Thanks

Dave Neve

"Michael Bednarek" a écrit dans le message de news:
...
On Sat, 14 Jan 2006 09:25:13 +0100, Dave Neve wrote in
microsoft.public.outlook.program_vba:

Sorry but I have never mastered VBA

I'd like to have a macro to open a program (see below)

What is the VBA code for this simple operation please?

Thanks

C:\Documents and Settings\Dave Neve\Application
Data\Microsoft\Outlook\Outlook.NK2


That is not a program, it's an Outlook data file. Why do you want to
open it?

--
Michael Bednarek
http://mbednarek.com/ "POST NO BILLS"



Michael Bednarek January 15th 06 07:49 AM

Need some simple code
 
On Sat, 14 Jan 2006 16:13:48 +0100, Dave Neve wrote in
microsoft.public.outlook.program_vba:

You're right. I didn't look at what I had pasted.

I should have said code to open

C:\Program Files\nicknameXP.exe

cos I need to get a handle on my nickname cache


You asked that question in June 2005 already, and Sue Mosher then
recommended the standard method of running any program from VBA:

Set objShell = CreateObject("WScript.Shell")
objShell.Run "C:\Program Files\nicknameXP.exe"

I myself recommended at the time:
Shell("C:\Program Files\nicknameXP.exe")

Did neither one work for you?

"Michael Bednarek" a écrit dans le message de news:
...
On Sat, 14 Jan 2006 09:25:13 +0100, Dave Neve wrote in
microsoft.public.outlook.program_vba:

Sorry but I have never mastered VBA

I'd like to have a macro to open a program (see below)

What is the VBA code for this simple operation please?

Thanks

C:\Documents and Settings\Dave Neve\Application
Data\Microsoft\Outlook\Outlook.NK2


That is not a program, it's an Outlook data file. Why do you want to
open it?


--
Michael Bednarek http://mbednarek.com/ "POST NO BILLS"


All times are GMT +1. The time now is 05:04 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com