Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 413
Default Help with setting up an Ordering system, please

I would like to set up a facility to allow users to access
a MasterOrder, make their changes and save to a
directory of their choice, whilst also saving to a central
default folder.

I need to present the user with an unique Order number,
but if the user chooses to Cancel, then I need to reset to
the original Order number.

Here is what I have so far:

In the calling sub:

Sub GetNewOrder()

Application.ScreenUpdating = False
ChDrive "C"
ChDir "C:\BofQProject\VlnBofQ\"
Workbooks.Open FileName:= _
"C:\BofQProject\VlnBofQ\MasterOrder.xls"
End Sub

and in the ThisWorkbook module of "MasterOrder.xls":

Private Sub Workbook_Open()

Dim i As Integer
With Workbooks("MasterOrder.xls").Worksheets("Master Order")
i = .Range("I3").Value
.Range("I3").Value = (i + 1) & " /"
End With

End Sub

A fundamental question, please:

Would I be better off creating a userform for this purpose?

Regards.





---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.548 / Virus Database: 341 - Release Date: 05/12/2003


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default Help with setting up an Ordering system, please

Probably. That way the workbook won't get overwritten by mistake. There's
also less potential for the numbering system to get out of sync.

--

Vasant

"Stuart" wrote in message
...
I would like to set up a facility to allow users to access
a MasterOrder, make their changes and save to a
directory of their choice, whilst also saving to a central
default folder.

I need to present the user with an unique Order number,
but if the user chooses to Cancel, then I need to reset to
the original Order number.

Here is what I have so far:

In the calling sub:

Sub GetNewOrder()

Application.ScreenUpdating = False
ChDrive "C"
ChDir "C:\BofQProject\VlnBofQ\"
Workbooks.Open FileName:= _
"C:\BofQProject\VlnBofQ\MasterOrder.xls"
End Sub

and in the ThisWorkbook module of "MasterOrder.xls":

Private Sub Workbook_Open()

Dim i As Integer
With Workbooks("MasterOrder.xls").Worksheets("Master Order")
i = .Range("I3").Value
.Range("I3").Value = (i + 1) & " /"
End With

End Sub

A fundamental question, please:

Would I be better off creating a userform for this purpose?

Regards.





---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.548 / Virus Database: 341 - Release Date: 05/12/2003




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
set up a stock ordering system in excel working backwards Devil's Isle Setting up and Configuration of Excel 1 October 17th 09 04:40 PM
How do I open an Excel file on XP system, saved on a Vista system JLS7 Excel Discussion (Misc queries) 3 December 2nd 08 04:21 AM
anyone have a food ordering system for a small catering company? jonathan Setting up and Configuration of Excel 0 November 14th 05 09:58 PM
excel causing system to be in low system resource inenewbl Excel Discussion (Misc queries) 0 April 5th 05 04:11 PM
Setting the system clock with excel ccdubs Excel Programming 3 August 7th 03 09:21 PM


All times are GMT +1. The time now is 12:16 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"