PDA

View Full Version : Open Gmail



daniels012
03-23-2011, 07:19 AM
Is there a way to add vba that will open my gmail account?

I use Chrome which is my default browser. Then I use gmail which is my default email.
I have code that is already attached to a button on screen. It creates a pdf file and puts it into a directory. I would love right after that to open and go to my email. I can enter manually the email address, the attachment, subject, etc etc. unless this is feasible with online mail.


Thank You in advance.
Michael Daniels

Kenneth Hobs
03-23-2011, 07:43 AM
I don't use it myself. If you have Access, view the VBA code in Access at this site to see how to do it. http://www.vbatutorial.org/access-vba-tutorial/gmail-email-e-mail-from-access-vba

daniels012
03-23-2011, 09:20 AM
I dont have access. Any other ideas?

Mcihael

Zack Barresse
03-23-2011, 10:02 AM
You want to open your browser and go to your email account? Or do you want to send via your gmail account right away? If the latter, check out these links...

http://www.ozgrid.com/forum/showthread.php?t=84628&page=1
http://www.access-programmers.co.uk/forums/showthread.php?t=205388
http://www.rondebruin.nl/cdo.htm

daniels012
11-02-2011, 09:09 AM
I know you responded to this way back, but I need to open my gmail.
I have a button I hit now and it saves the active excel sheet as a pdf. I then need to open my gmail account.
Then I can manually attach the pdf file I just created.

Michael D

Zack Barresse
11-02-2011, 09:35 PM
Didn't realize it was cross posted...

http://forums.techguy.org/business-applications/1025141-excel-vba-open-gmail.html