Live Chat & Podcast at 1:00PM Eastern on Sunday!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Business Applications
Tag Cloud
access acer asus batch bios bsod crash desktop driver drivers error ethernet excel freeze gaming gpu hard drive hardware hdmi internet laptop malware memory monitor motherboard netgear network printer problem ram registry router server slow software sound trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Software & Hardware > Business Applications >
Excel Macro -> email created with field data as subject line

Reply  
Thread Tools
MikeReich's Avatar
Computer Specs
Junior Member with 2 posts.
 
Join Date: Jun 2009
Experience: Intermediate
18-Jun-2009, 03:52 PM #1
Excel Macro -> email created with field data as subject line
Although decently experience with excel, I am quite new with VBA and I cannot "record" this macro, so any help writing this in VBA is much appreciated.

1) I need to create a macro that will take a number that is entered into a cell, and upon hitting a button in the excel sheet create an email where the subject line is the number that was in that original cell.

1b)I would like to do this without changing the name of the excel file though, or at least have another macro that resets the file to its original name.

2) Also, if possible, the same macro/vba as above, only with two cells, a number in one and a name in the other, which then shows up as "Number-Name" as the subject line in the email.

Thanks to anyone that can help - Mike
OBP's Avatar
OBP OBP is offline
Computer Specs
Distinguished Member with 14,665 posts.
 
Join Date: Mar 2005
Location: UK
Experience: An old Basic Programmer
18-Jun-2009, 03:58 PM #2
__________________
OBP
I do not give up easily
MikeReich's Avatar
Computer Specs
Junior Member with 2 posts.
 
Join Date: Jun 2009
Experience: Intermediate
18-Jun-2009, 04:32 PM #3
Thanks, but can't follow your links
OBP
I am not sure if its my lack of ability or not, but the links you sent only take me to the techguy main page. I looked around on the site, and there is something about your ellipsis(s) that they are not showing the part of the link they replace, as I've seen with other links. Can you give it another shot?

- Mike
OBP's Avatar
OBP OBP is offline
Computer Specs
Distinguished Member with 14,665 posts.
 
Join Date: Mar 2005
Location: UK
Experience: An old Basic Programmer
19-Jun-2009, 08:06 AM #4
slurpee55's Avatar
Computer Specs
Distinguished Member with 7,837 posts.
 
Join Date: Oct 2004
Location: Southwest Iowa....
Experience: Currently stupid...
19-Jun-2009, 03:37 PM #5
Hmm, I didn't know that...thanks OBP. I may have to go fix an answer I gave earlier.
OBP's Avatar
OBP OBP is offline
Computer Specs
Distinguished Member with 14,665 posts.
 
Join Date: Mar 2005
Location: UK
Experience: An old Basic Programmer
20-Jun-2009, 07:01 AM #6
slurpee, it is Ok to copy the url link, what the forum doesn't seem to like is the Copying of a Copied Link, which is what I did as I had just posted those links afew hours before. (being Efficient? Lazy?)
slurpee55's Avatar
Computer Specs
Distinguished Member with 7,837 posts.
 
Join Date: Oct 2004
Location: Southwest Iowa....
Experience: Currently stupid...
22-Jun-2009, 02:39 PM #7
I found out my other post was okay, so I must have done something right...oh, I would say efficient, except it doesn't work!
Reply

Tags
email, excel, macro

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 02:50 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.