Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / December 2006

Tip: Looking for answers? Try searching our database.

Using filename hyperlinks in Macros

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Marlene.Sawhney@gmail.com - 15 Dec 2006 19:06 GMT
Hello Everyone,

Here is the problem I am having......

I am trying to automatically attach a file to an email in Outlook every

week...right now the file is attaching and going to my drafts in
outlook, which is perfect.

The problem is that the filename changes every week.  Right now the
name of the file is:

M:\Pricing\Weekly AUD and CAD\Canadian\2006.12.15 CAD Pricing.xls

Next week, the file will be:
M:\Pricing\Weekly AUD and CAD\Canadian\2006.12.27 CAD Pricing.xls

I have a formula in Excel that concatenates the file name and a formula

that creates it as a hyperlink and it opens...which is fine.

BUT- when I run the macro it doesn't attach the file when I use the
concatenated/hyperlink formula....however it did attach when I
hyperlinked the file on my own

I have a lot of files......and I need to do them weekly....so thats why

it would be difficult to this manually

In the end, I need a macro/formula/anything that can concatenate the
file name and then hyperlink it AND still work when I run my
macro...ANY help would be awesome!

Thanks everyone and happy holidays!
Shauna Kelly - 16 Dec 2006 02:06 GMT
Hi

I assume your code is running in Excel. You've posted your question to a
Word newsgroup. I suggest that you re-post your message to an Excel
newsgroup, and include the relevant portions of your code so that the people
there can see what's happening.

Hope this helps.

Shauna Kelly.  Microsoft MVP.
http://www.shaunakelly.com/word

> Hello Everyone,
>
[quoted text clipped - 30 lines]
>
> Thanks everyone and happy holidays!

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.