Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 23
Default visual basic help Excel/word form filling in

I want to make an automated form that I send out to customers confirming their
orders. I think there is a way to do this in Visual basic but my knowledge on
this is very limited. This is to be done in either word or excel whichever
is easier??

I want basically a form that has catagories like

Name:
Order number:
delivery date:

which I can fill in and then press go and it produces an e-mail in the form:

Hi ______

We have processed your order _____ for delivery on _____

bla bla bla.

and possibly a button that sends it straight to an e-mail too for me to send
off.

Can anyone please help me on this? A step by step guide would be very good
as I say my visual basic knowlegde is basic. I can probably design the form
but not put any of the code in that I want.

Cheers.


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default visual basic help Excel/word form filling in

This sounds like a good opportunity to use excel as your database and MSWord's
mailmerge feature.

You may want to read some tips for mailmerge.
http://www.mvps.org/dmcritchie/excel/mailmerg.htm
http://www.mvps.org/word/FAQs/MailMerge

The first is from David McRitchie and the second is by Beth Melton and Dave
Rado.

And if you notice problems with the formatting of data (like zipcodes)...

Debra Dalgleish posted this:

There's an article on the Microsoft web site that might help you:

Answer Box: Numbers don't merge right in Word
http://office.microsoft.com/en-ca/as...164951033.aspx

And if you prefer the old Mail Merge helper, Word MVP Suzanne Barnhill
has instructions he

http://sbarnhill.mvps.org/WordFAQs/C...ngWord2002.htm

about half way down the page.

==========
I often cheat instead of racking my brain.

I'll insert another column (probably hidden!) and use:
=text(a2,"ddmmyy")
or
=text(a2,"mm:ss.0")
or
=text(a2,"00000")
(or whatever format I want)
and use that field in the mailmerge.

(Cheating doesn't bother me anymore <vbg.)

laandmc wrote:

I want to make an automated form that I send out to customers confirming their
orders. I think there is a way to do this in Visual basic but my knowledge on
this is very limited. This is to be done in either word or excel whichever
is easier??

I want basically a form that has catagories like

Name:
Order number:
delivery date:

which I can fill in and then press go and it produces an e-mail in the form:

Hi ______

We have processed your order _____ for delivery on _____

bla bla bla.

and possibly a button that sends it straight to an e-mail too for me to send
off.

Can anyone please help me on this? A step by step guide would be very good
as I say my visual basic knowlegde is basic. I can probably design the form
but not put any of the code in that I want.

Cheers.


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual basic, form does not show date correctly.... Haris Excel Worksheet Functions 6 November 7th 07 02:42 PM
Microsoft Visual Basic errors displaid when opening Microsoft Word 97 & Excel (7 JJ mac Setting up and Configuration of Excel 7 June 14th 07 06:54 PM
visual basic user form date format dd/mm/yy not mm/dd/yy DarrenO Excel Discussion (Misc queries) 1 March 28th 07 01:56 AM
Offline office help will not work in excel word or visual basic AlanHuddersfield Excel Discussion (Misc queries) 0 June 2nd 06 12:51 AM
changing the visual basic in office 2003 to visual studio net bigdaddy3 Excel Discussion (Misc queries) 1 September 13th 05 10:57 AM


All times are GMT +1. The time now is 09:49 PM.

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

About Us

"It's about Microsoft Excel"