PC Review


Reply
Thread Tools Rate Thread

How do I approach this little Project, please?

 
 
Stuart
Guest
Posts: n/a
 
      25th Jun 2004
I have a standard Company Order form, stored as a template.

I wish to let the user manually navigate to the folder holding the
template and copy it to their new working folder. The template
will then form the basis of new Orders for that Contract.

Currently, code in the template's ThisWorkbook module simply
uses the workbook_open event to enable those cells which are
available to the user.

Every time the user wishes to place an Order for that Contract,
they would open that copy of the template. However, some of
their input will be common to all orders ( ie the delivery address).

What can I do to let the user copy the template, but when the
user opens it for the first time, ask the user to fill in all the
fields/cells
that will contain 'common' information and then save that copy of
the template, such that when user opens the template copy again,
all standard info will already be presented to them.

Any ideas please?

Regards.


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.710 / Virus Database: 466 - Release Date: 23/06/2004


 
Reply With Quote
 
 
 
 
=?Utf-8?B?TWFyY290dGUgQQ==?=
Guest
Posts: n/a
 
      25th Jun 2004
As part of the Workbook_Open event, you could use a userform to prompt the user for all the common data. Then save the template with a new filename [perhaps based on one of the fields just entered (eg. client name)]. To prevent the userform from appear when the new template is opened, use an IF statement in the workbook_open code, eg.:

If IsEmpty('client name cell') Then
'Load UserForm to get common data
'save as new template
Else
'code to execute when template with common data already entered is opened
End If
'code to execute when original or new template is opened.

 
Reply With Quote
 
Stuart
Guest
Posts: n/a
 
      26th Jun 2004
Thanks for the ideas.

Regards.

"Marcotte A" <(E-Mail Removed)> wrote in message
news:E76E35B7-CAED-4CFB-BF66-(E-Mail Removed)...
> As part of the Workbook_Open event, you could use a userform to prompt the

user for all the common data. Then save the template with a new filename
[perhaps based on one of the fields just entered (eg. client name)]. To
prevent the userform from appear when the new template is opened, use an IF
statement in the workbook_open code, eg.:
>
> If IsEmpty('client name cell') Then
> 'Load UserForm to get common data
> 'save as new template
> Else
> 'code to execute when template with common data already entered is

opened
> End If
> 'code to execute when original or new template is opened.
>



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.710 / Virus Database: 466 - Release Date: 23/06/2004


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
What's the best way to approach my large project using Word? Sarah W Microsoft Word Document Management 4 9th Apr 2008 06:21 PM
Looking for Approach on Excel Project S Himmelrich Microsoft Excel Discussion 4 5th Nov 2007 11:12 PM
Best Approach When Saving a New Project Steve Microsoft VB .NET 4 1st Dec 2006 11:36 PM
Need advice how to approach project? =?Utf-8?B?UnVkeQ==?= Microsoft Dot NET Framework 4 22nd Jul 2005 09:54 AM
New Project, need idea to best approach it... RompStar Microsoft Excel Discussion 4 9th May 2005 05:15 PM


Features
 

Advertising
 

Newsgroups
 


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