A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Need some simple code



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 14th 06, 09:25 AM posted to microsoft.public.outlook.program_vba
Dave Neve
external usenet poster
 
Posts: 8
Default 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


Ads
  #2  
Old January 14th 06, 02:50 PM posted to microsoft.public.outlook.program_vba
Michael Bednarek
external usenet poster
 
Posts: 28
Default 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"
  #3  
Old January 14th 06, 04:13 PM posted to microsoft.public.outlook.program_vba
Dave Neve
external usenet poster
 
Posts: 8
Default 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"


  #4  
Old January 15th 06, 08:49 AM posted to microsoft.public.outlook.program_vba
Michael Bednarek
external usenet poster
 
Posts: 28
Default 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"
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
create simple template Brad Zenner Outlook - Using Forms 0 February 23rd 06 05:42 AM
create simple template [email protected] Outlook - Using Forms 0 February 23rd 06 05:39 AM
Code Joel Allen Outlook - Using Forms 0 February 1st 06 07:32 PM
code : Code : 800cccd2 scotty971fr Outlook Express 1 January 20th 06 12:59 AM
Importing a simple Contacts list that wasn't exported properly Albert Chen Outlook - Using Contacts 1 January 9th 06 10:19 PM


All times are GMT +1. The time now is 09:12 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.