Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

send content worksheet email

Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » Send the content of a worksheet by email

Send the content of a worksheet by email

ResolvedVersion 2010

Alain has attended:
Excel VBA Intro Intermediate course
Excel VBA Advanced course
Access Introduction course
Access Intermediate course
Access Advanced course
Access VBA course
Introduction to Management course

Send the content of a worksheet by email

Hi,

Sorry i asked this question on the VBA Access forum first. I assume the answer is likely to be very similar. Here it is once again for Excel:

I am currently using a macro that attaches the active workbook to an email and then sends it to a mailing list.

I would like to know how I could copy and paste the content of a workbook in an email and simply send this email without attaching the workbook.

I would be very grateful if you could suggest a solution. I thank you in advance for your help.

Alain

RE: Send the content of a worksheet by email

Hi Alain, thanks for your query. This link should give you what you need:

http://www.rondebruin.nl/mail/folder3/mail4.htm

Hope this helps,

Anthony

RE: Send the content of a worksheet by email

Hi Anthony,

I thank you for your answer. This looks really good. I am looking forward to trying it.

Alain

 

Training courses

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.

Excel tip:

Use RANDBETWEEN to generate random numbers

There may be occassions where you need to generate random numbers in your spreadsheet. Use the RANDBETWEEN function to generate random numbers between two values that you specify.

The function looks like this:

=randbetween(LOW,HIGH)

where LOW is the lowest number you want generated; and HIGH is the highest number you want generated.

This formula will work with both positive and negative LOWs and HIGHs. Also it will only generate integer numbers unless forced to do otherwise by the following:

=randbetween(LOW*10^PRECISION,
HIGH*10^PRECISION)/(10^PRECISION).

where PRECISION represents the levels of decimal precision needed (i.e. if you need numbers with one decimal place, PRECISION would be 1; 2 for two decimal places and so on).

One final note, if the RANDBETWEEN formula does not work in your spreadsheet or returns a "#NAME" error, you need to install the Analysis Toolpak Add-In. You will need to press F2 then Enter following the installation.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.