×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

New Orders Stock Sheet Problem Excel VB

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
Replies continue below

Recommended for you

RE: New Orders Stock Sheet Problem Excel VB

Hi and welcome to Eng-Tips.

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

Johnwm,
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

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login



News


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close