A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

how do I email amacro?



 
 
Thread Tools Display Modes
  #1  
Old August 7th, 2006, 04:43 PM posted to microsoft.public.excel.worksheet.functions
leo
external usenet poster
 
Posts: 236
Default how do I email amacro?

I have a macro for excel that I use on a xl file that I download from a
server. How do I email that macro to a friend?
thx
  #2  
Old August 7th, 2006, 04:49 PM posted to microsoft.public.excel.worksheet.functions
Ron de Bruin
external usenet poster
 
Posts: 2,861
Default how do I email amacro?

Hi Leo

Paste the macro in the body of the mail or paste in a txt file and send it.
Or send a workbook with the macro.

--
Regards Ron de Bruin
http://www.rondebruin.nl



"leo" wrote in message ...
I have a macro for excel that I use on a xl file that I download from a
server. How do I email that macro to a friend?
thx



  #3  
Old August 7th, 2006, 05:01 PM posted to microsoft.public.excel.worksheet.functions
mr_ben
external usenet poster
 
Posts: 1
Default how do I email amacro?


or
go into the VBA editor export the module to your desktop and mail it
that way.


Then the recipient can import that macro into their spreadsheet.


--
mr_ben
------------------------------------------------------------------------
mr_ben's Profile: http://www.excelforum.com/member.php...o&userid=37106
View this thread: http://www.excelforum.com/showthread...hreadid=569050

  #4  
Old August 8th, 2006, 12:41 AM posted to microsoft.public.excel.worksheet.functions
leo
external usenet poster
 
Posts: 236
Default how do I email amacro?

I opened the macro and pasted it into an email. How does the receiver store
it as a macro on his computer?

"Ron de Bruin" wrote:

Hi Leo

Paste the macro in the body of the mail or paste in a txt file and send it.
Or send a workbook with the macro.

--
Regards Ron de Bruin
http://www.rondebruin.nl



"leo" wrote in message ...
I have a macro for excel that I use on a xl file that I download from a
server. How do I email that macro to a friend?
thx




  #5  
Old August 8th, 2006, 01:42 AM posted to microsoft.public.excel.worksheet.functions
Gord Dibben
external usenet poster
 
Posts: 20,252
Default how do I email amacro?

The recipient will open a workbook and create a general module.

Recipient will then copy the macro text from the email and paste it into the
module.

Just the reverse of what you did to copy/paste into the body of the email.


Gord Dibben MS Excel MVP

On Mon, 7 Aug 2006 16:41:01 -0700, leo wrote:

I opened the macro and pasted it into an email. How does the receiver store
it as a macro on his computer?

"Ron de Bruin" wrote:

Hi Leo

Paste the macro in the body of the mail or paste in a txt file and send it.
Or send a workbook with the macro.

--
Regards Ron de Bruin
http://www.rondebruin.nl



"leo" wrote in message ...
I have a macro for excel that I use on a xl file that I download from a
server. How do I email that macro to a friend?
thx





  #6  
Old August 8th, 2006, 02:04 AM posted to microsoft.public.excel.worksheet.functions
Dave Peterson
external usenet poster
 
Posts: 19,791
Default how do I email amacro?

And just to add to Gord's response, that's a pretty good reason to avoid sending
the text version of the code.

Why not just send the workbook--or even create a dedicated workbook with your
utilities in it and share that workbook?

Gord Dibben wrote:

The recipient will open a workbook and create a general module.

Recipient will then copy the macro text from the email and paste it into the
module.

Just the reverse of what you did to copy/paste into the body of the email.

Gord Dibben MS Excel MVP

On Mon, 7 Aug 2006 16:41:01 -0700, leo wrote:

I opened the macro and pasted it into an email. How does the receiver store
it as a macro on his computer?

"Ron de Bruin" wrote:

Hi Leo

Paste the macro in the body of the mail or paste in a txt file and send it.
Or send a workbook with the macro.

--
Regards Ron de Bruin
http://www.rondebruin.nl



"leo" wrote in message ...
I have a macro for excel that I use on a xl file that I download from a
server. How do I email that macro to a friend?
thx




--

Dave Peterson
  #7  
Old August 8th, 2006, 12:10 PM posted to microsoft.public.excel.worksheet.functions
mr_ben
external usenet poster
 
Posts: 1
Default how do I email amacro?


or why don't you do it the way I said originally and avoid all the above
problems


--
mr_ben
------------------------------------------------------------------------
mr_ben's Profile: http://www.excelforum.com/member.php...o&userid=37106
View this thread: http://www.excelforum.com/showthread...hreadid=569050

  #8  
Old August 8th, 2006, 01:48 PM posted to microsoft.public.excel.worksheet.functions
Dave Peterson
external usenet poster
 
Posts: 19,791
Default how do I email amacro?

You haven't avoided the problem. You've just passed the problem to the
recipient. Most users of excel wouldn't know what to do with the text of a
macro (in my experience).

mr_ben wrote:

or why don't you do it the way I said originally and avoid all the above
problems

--
mr_ben
------------------------------------------------------------------------
mr_ben's Profile: http://www.excelforum.com/member.php...o&userid=37106
View this thread: http://www.excelforum.com/showthread...hreadid=569050


--

Dave Peterson
  #9  
Old August 8th, 2006, 03:02 PM posted to microsoft.public.excel.worksheet.functions
mr_ben
external usenet poster
 
Posts: 1
Default how do I email amacro?


Dave Peterson Wrote: [color=blue]
You haven't avoided the problem. You've just passed the problem to the
recipient. Most users of excel wouldn't know what to do with the text
of a
macro (in my experience).

mr_ben wrote:

or why don't you do it the way I said originally and avoid all the

above
problems

--



not how I see it

all you need to do is import the file (module), you don't need to
"touch" the text of the macro itself. (unless I'm completely missing
the point)

I may admittedly not explained the process that well... ops:


--
mr_ben
------------------------------------------------------------------------
mr_ben's Profile: http://www.excelforum.com/member.php...o&userid=37106
View this thread: http://www.excelforum.com/showthread...hreadid=569050

  #10  
Old August 8th, 2006, 03:22 PM posted to microsoft.public.excel.worksheet.functions
Dave Peterson
external usenet poster
 
Posts: 19,791
Default how do I email amacro?

I think you're going to have to tell the recipient to save the text of the
message (or the attachment) somewhere.

Then you have to explain to open excel, open the VBE, find the correct project
and import that file. Then tell the user how to run the macro.

It sounds much more difficult than just emailing a .xls file.


mr_ben wrote:[color=blue]

Dave Peterson Wrote:
You haven't avoided the problem. You've just passed the problem to the
recipient. Most users of excel wouldn't know what to do with the text
of a
macro (in my experience).

mr_ben wrote:

or why don't you do it the way I said originally and avoid all the

above
problems

--


not how I see it

all you need to do is import the file (module), you don't need to
"touch" the text of the macro itself. (unless I'm completely missing
the point)

I may admittedly not explained the process that well... ops:

--
mr_ben
------------------------------------------------------------------------
mr_ben's Profile: http://www.excelforum.com/member.php...o&userid=37106
View this thread: http://www.excelforum.com/showthread...hreadid=569050


--

Dave Peterson
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:57 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.