Creating a databse from textbox's 
Author Message
 Creating a databse from textbox's

Anybody's help on this situation would be most
appreciated.

I have a userform on a Microsoft Word Document which has
17 textbox's on it, when the user fills in all the
textbox's and clicks the ok button (or submit as I have
called it), the pieces of text are then inserted into a
standard document in certain places which are marked
using bookmarks.

What I would like is to keep a database record of the
details that were submitted on the userform by the user.  
And then I want to be able to open the database in excel.

When the user clicks the submit button on the userform, I
want the details that the user has entered in the
textbox's to be added to a data file (the database),
perhaps using the 'Append' facility e.g.: 'Open database
For Append As #1', etc. etc.

What code can I use to do this and what code can I use to
open up the datafile in Excel?

Many thanks in advance for your help.

Mark



Sat, 30 Apr 2005 06:54:24 GMT  
 Creating a databse from textbox's
Hi Mark,

Take a look at http://www.computorcompanion.com/LPMArticle.asp?ID=136

Please post any response to the newsgroups for the benefit of others who may
also be following the thread.

Hope this helps,
Doug Robbins - Word MVP

Quote:
> Anybody's help on this situation would be most
> appreciated.

> I have a userform on a Microsoft Word Document which has
> 17 textbox's on it, when the user fills in all the
> textbox's and clicks the ok button (or submit as I have
> called it), the pieces of text are then inserted into a
> standard document in certain places which are marked
> using bookmarks.

> What I would like is to keep a database record of the
> details that were submitted on the userform by the user.
> And then I want to be able to open the database in excel.

> When the user clicks the submit button on the userform, I
> want the details that the user has entered in the
> textbox's to be added to a data file (the database),
> perhaps using the 'Append' facility e.g.: 'Open database
> For Append As #1', etc. etc.

> What code can I use to do this and what code can I use to
> open up the datafile in Excel?

> Many thanks in advance for your help.

> Mark



Sat, 30 Apr 2005 17:47:37 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Create array of TextBox's at runtime?

2. Can't compile databse - why

3. Creating databse tables in VBNet with ADO

4. Newbie Q - Creating a Databse Within VB

5. Changing the textbox's value of a textbox in a frame

6. how to use textbox 's scrollbar auto move text in textbox

7. Type is not defined: 'TextBox'

8. 'simple' textbox problem

9. Runtime error '429', ActiveX can't create object

10. 'ActiveX can't create object'

11. Run-time error '429': ActiveX component can't create object

12. Run-Time Error '429': ActiveX component can't create object

 

 
Powered by phpBB® Forum Software