Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 96
Default send to mail recipient

Hi

I have a spreadsheet with a button on it that calls a
macro which is the same as File\Send To\Mail Recipient

Until recently we've been using Microsoft Outlook which
was fine, but now we're using Lotus Notes.

Lotus notes requires a password whereas Outlook was happy
with just the NT logon.

If the user has Lotus Notes open then there isn't a
problem.

I use the Shell(path) to open notes but it says it can't
find a .ini file which is linked to the users NT profile.

When I try and open Lotus notes using Shell(path) it says
it can't find this .ini file.

any ideas anyone?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default send to mail recipient

Lotus Notes depends on being able to find notes.ini One way to help would
be to copy the notes.ini file into the directory that notes.exe is stored.
For multiple profiles however, this may not be practical. Windows achieves
this by using shortcuts where you can specify the target (c:\program
files\notes\notes.exe) and a start-in directory ( path to where notes.ini is
stored. ) I don't know if there is a way of simulating this in Excel.

"libby" wrote in message
...
Hi

I have a spreadsheet with a button on it that calls a
macro which is the same as File\Send To\Mail Recipient

Until recently we've been using Microsoft Outlook which
was fine, but now we're using Lotus Notes.

Lotus notes requires a password whereas Outlook was happy
with just the NT logon.

If the user has Lotus Notes open then there isn't a
problem.

I use the Shell(path) to open notes but it says it can't
find a .ini file which is linked to the users NT profile.

When I try and open Lotus notes using Shell(path) it says
it can't find this .ini file.

any ideas anyone?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 96
Default send to mail recipient

Thanks Dave,

It sounds though it would be complicated as there are
hundreds of user profiles.
Is there anyway of detecting if Lotus Notes is open and
disabling the Send button accordingly?

Thanks
-----Original Message-----
Lotus Notes depends on being able to find notes.ini One

way to help would
be to copy the notes.ini file into the directory that

notes.exe is stored.
For multiple profiles however, this may not be

practical. Windows achieves
this by using shortcuts where you can specify the target

(c:\program
files\notes\notes.exe) and a start-in directory ( path to

where notes.ini is
stored. ) I don't know if there is a way of simulating

this in Excel.

"libby" wrote in

message
...
Hi

I have a spreadsheet with a button on it that calls a
macro which is the same as File\Send To\Mail Recipient

Until recently we've been using Microsoft Outlook which
was fine, but now we're using Lotus Notes.

Lotus notes requires a password whereas Outlook was

happy
with just the NT logon.

If the user has Lotus Notes open then there isn't a
problem.

I use the Shell(path) to open notes but it says it can't
find a .ini file which is linked to the users NT

profile.

When I try and open Lotus notes using Shell(path) it

says
it can't find this .ini file.

any ideas anyone?



.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default send to mail recipient

I have found a way to copy the notes.ini file to the notes directory using
the FileCopy statement (FileCopy source, destination) and it is possible to
determine who is using Excel with Application.UserName.

For W2K or XP it would look something like:-

Sourcefile = "c:\documents and settings\" & Application.UserName & "\rest of
the path\notes.ini"
destinationfile = "c:\program files\lotus\notes\notes.ini"
FileCopy Sourcefile, destinationfile
runthis = Shell("c:\program files\lotus\notes\notes.exe")

You may want to delete the new copy of the .ini file when you close Excel as
it may cause problems with normal operation of notes

"libby" wrote in message
...
Thanks Dave,

It sounds though it would be complicated as there are
hundreds of user profiles.
Is there anyway of detecting if Lotus Notes is open and
disabling the Send button accordingly?

Thanks
-----Original Message-----
Lotus Notes depends on being able to find notes.ini One

way to help would
be to copy the notes.ini file into the directory that

notes.exe is stored.
For multiple profiles however, this may not be

practical. Windows achieves
this by using shortcuts where you can specify the target

(c:\program
files\notes\notes.exe) and a start-in directory ( path to

where notes.ini is
stored. ) I don't know if there is a way of simulating

this in Excel.

"libby" wrote in

message
...
Hi

I have a spreadsheet with a button on it that calls a
macro which is the same as File\Send To\Mail Recipient

Until recently we've been using Microsoft Outlook which
was fine, but now we're using Lotus Notes.

Lotus notes requires a password whereas Outlook was

happy
with just the NT logon.

If the user has Lotus Notes open then there isn't a
problem.

I use the Shell(path) to open notes but it says it can't
find a .ini file which is linked to the users NT

profile.

When I try and open Lotus notes using Shell(path) it

says
it can't find this .ini file.

any ideas anyone?



.



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default send to mail recipient

Libby - If you have found a solution to this I have a similar issue - I would
LOVE to be able to send a note to a user or a group or users via a macro in
excel - I do not have notes on the PC at this time, but I can put it on - can
you send me a copy of what you did to get the note sent - if this is infact
what you did
What my goal is -
If a particular macro gets run, due to errors in the data input - it would
automatically send and email to a group via Lotus Notes
If you can help THANKS A BUNCH

Kathy


"libby" wrote:

Hi

I have a spreadsheet with a button on it that calls a
macro which is the same as File\Send To\Mail Recipient

Until recently we've been using Microsoft Outlook which
was fine, but now we're using Lotus Notes.

Lotus notes requires a password whereas Outlook was happy
with just the NT logon.

If the user has Lotus Notes open then there isn't a
problem.

I use the Shell(path) to open notes but it says it can't
find a .ini file which is linked to the users NT profile.

When I try and open Lotus notes using Shell(path) it says
it can't find this .ini file.

any ideas anyone?



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 49
Default send to mail recipient

Kathy,

Have a look - maybe these would give you a direction:
http://www.forumtopics.com/busobj/viewtopic.php?t=26805
http://www.mrexcel.com/archive/VBA/28119.html


KL

"Kathy" wrote in message
...
Libby - If you have found a solution to this I have a similar issue - I
would
LOVE to be able to send a note to a user or a group or users via a macro
in
excel - I do not have notes on the PC at this time, but I can put it on -
can
you send me a copy of what you did to get the note sent - if this is
infact
what you did
What my goal is -
If a particular macro gets run, due to errors in the data input - it would
automatically send and email to a group via Lotus Notes
If you can help THANKS A BUNCH

Kathy


"libby" wrote:

Hi

I have a spreadsheet with a button on it that calls a
macro which is the same as File\Send To\Mail Recipient

Until recently we've been using Microsoft Outlook which
was fine, but now we're using Lotus Notes.

Lotus notes requires a password whereas Outlook was happy
with just the NT logon.

If the user has Lotus Notes open then there isn't a
problem.

I use the Shell(path) to open notes but it says it can't
find a .ini file which is linked to the users NT profile.

When I try and open Lotus notes using Shell(path) it says
it can't find this .ini file.

any ideas anyone?



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
Send to mail recipient error JohnB Excel Discussion (Misc queries) 3 August 11th 07 11:32 AM
Send To - E-mail Recipient Polyprod Setting up and Configuration of Excel 2 March 23rd 06 08:56 AM
Error when using Send to Mail recipient ChuckW Excel Discussion (Misc queries) 1 August 24th 05 08:24 PM
Send to mail recipient (as attachement) is greyed out Phan Excel Discussion (Misc queries) 2 May 18th 05 03:26 PM
Cannot "Send to -> mail recipient (as attachment)" Jack Excel Discussion (Misc queries) 2 December 18th 04 12:04 PM


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

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

About Us

"It's about Microsoft Excel"