New Orders Stock Sheet Problem Excel VB
New Orders Stock Sheet Problem Excel VB
(OP)
Hey all
I have been trying to create a macro button on my new orders page for my spreadsheet. What I am hoping to achieve is a marco that when I click place it, it will take the information needed from the new orders page and paste it into the existing orders, but it does not end there the tricky bit im finding is how to get it to go to my stock spreadsheet and whatever part was ordered it would lower the stock by the quantity that was ordered so in effect the spreadsheet would lower my stock level as a items were purchased. I only have very basic VB skill but eager to learn. If anyone can solve this for me I defiantly owe them a pint
Thanks for reading
JMack986
I have been trying to create a macro button on my new orders page for my spreadsheet. What I am hoping to achieve is a marco that when I click place it, it will take the information needed from the new orders page and paste it into the existing orders, but it does not end there the tricky bit im finding is how to get it to go to my stock spreadsheet and whatever part was ordered it would lower the stock by the quantity that was ordered so in effect the spreadsheet would lower my stock level as a items were purchased. I only have very basic VB skill but eager to learn. If anyone can solve this for me I defiantly owe them a pint
Thanks for reading
JMack986
RE: New Orders Stock Sheet Problem Excel VB
It's hard to know where to start on this one!
1. This doesn't appear to be an engineering problem, so you are probably on the wrong site. You may do better on our sister site www.tek-tips.com - but before you post there you need to address the next 3 items.
2. It looks like you're confusing VB with VBA. VBA is the scripting language that comes as part of the MS Office suite. VB makes free-standing exes, using a run-time library
3. Excel (or any spreadsheet) is an unsuitable vehicle to base a database application on. If you actually NEED to write your own stock control/orders program you have 2 sensible choices. If this is a lightweight application, with no more than 4 or 5 concurrent users you can use the appropriate Office product which is Access for database stuff. If you want a real application then get a more modern RAD product such as VB.NET (part of Visual Studio suite) and use it to front end a more substantial back end such as SQL server (Express version for small applications)
4. Be aware that the exercise is not trivial - expect several man-months of programming to get a complete and robust solution as a minimum, assuming that you already have a good understanding of relational database design and RAD programming principles
Good Luck
johnwm
________________________________________________________
To get the best from these forums read FAQ731-376 before posting
Steam Engine enthusiasts
Steam Engine Prints
RE: New Orders Stock Sheet Problem Excel VB
Thank you for pointing out the sister site www.tek-tips.com
A star for you.
Bradley
SolidWorks Premim 2007 x64 SP3.1
PDM Works, Intel(R) Pentium(R) D CPU
3.00 GHz, 4 GB RAM, Virtual memory 12577 MB, nVidia 3400