Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Another Outlook question

when sending an e-mail from outlook, i know how to attach the curren
workbook, how can i change that to attach a different workbook?
i would think that i would need to change this line:
.Attachments.Add ActiveWorkbook.FullName
thanks

--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Another Outlook question

nevermind, i just look at ron's site. thanks thoug

--
Message posted from http://www.ExcelForum.com

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Another Outlook question

Okay, now i have another question.
i used the example at http://www.rondebruin.nl/mail/folder2/mail1.htm
but i can't seem to get it to work. i keep gettin the followin
error:
Run-time error '-10544742 (f9b70002)':
Can't find this file. Make sure the path and file name are correct.

any thoughts

--
Message posted from http://www.ExcelForum.com

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Another Outlook question

It would help to see your code. It should look something like

Attachments.Add "C:\myDir\myFile.xls"

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"ForSale " wrote in message
...
Okay, now i have another question.
i used the example at http://www.rondebruin.nl/mail/folder2/mail1.htm
but i can't seem to get it to work. i keep gettin the following
error:
Run-time error '-10544742 (f9b70002)':
Can't find this file. Make sure the path and file name are correct.

any thoughts?


---
Message posted from http://www.ExcelForum.com/



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Another Outlook question

the code in question is :
attachments.add "w:\Daily Group Summary Reports\Team 55 I
Lastname.xls"
the file name varies, but the folder and drive are constant.
sometimes it works if i just save the file to the w: and leave off th
folder name, but that is rather inconvenient

--
Message posted from http://www.ExcelForum.com



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Another Outlook question

Whilst there is an extra dot in the filename that shouldn't cause a problem.
Does the file actually exist?

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"ForSale " wrote in message
...
the code in question is :
attachments.add "w:\Daily Group Summary Reports\Team 55 I.
Lastname.xls"
the file name varies, but the folder and drive are constant.
sometimes it works if i just save the file to the w: and leave off the
folder name, but that is rather inconvenient.


---
Message posted from http://www.ExcelForum.com/



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
Not an Excel question - where's Outlook Express? ShaneDevenshire Excel Discussion (Misc queries) 2 February 6th 07 07:03 AM
Embedded excel sheet in outlook question??? Shane Excel Discussion (Misc queries) 2 February 6th 06 04:33 PM
Excel to Outlook Small Question twogoodtwo Excel Programming 4 August 6th 04 04:41 PM
Outlook Question ForSale[_8_] Excel Programming 4 July 22nd 04 11:33 PM
easy question on excel/outlook mike0021[_5_] Excel Programming 1 June 17th 04 10:39 PM


All times are GMT +1. The time now is 08:37 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"