goldenvision
Board Regular
- Joined
- Jan 13, 2004
- Messages
- 234
Firstly, before I get into this I'm not even sure if this is possible, but I figure that if it is someone on here will know how to do it. Here goes:
Background
I have a table on an SQL database which holds tens of thousands of line items relating to stock items. (Let's call this Main Stock). On a weekly/monthly/quarterly basis I receive new stock lists from manufacturers (Let's call this Manuf Stock) which will contain items already in Main Stock plus new items not included.
The Problem
I need to add any new add items from the Manuf Stock list to the Main Stock list. This would be relatively easy apart from there not being a matching reference on both files. Also, items that may appear to be new items on the Manuf Stock list could actually just be reclassified items. For example: item 205/55/16 94V XPLY Run Flat Pilot HXM could appear as a new item on the Manuf Stock list when it is actually a reclassification of 205/55/16 94V Run Flat Pilot HXM. (This is actually a very simplistic example). In the case of items being reclassified the requirement is to simply point the item on the database to a different code.
Continuing to use the above example this would be stored in the Main Stock file as Section:205, Profile:55, Rim:16, Load Index:94 Speed Rating:V Details: Run Flat Pilot HXM
What I would like to be able to do is have two Excel windows open, one with Manuf Stock and one with Main Stock. Then to click on Section:205 in the Manuf Stock list and have the Main Stock file automatically filter to show only item with a Section of 205, then click on Profile:55 and have the Main Stock file automatically filter to show only items with a Section of 205 and a Profile of 55 and so on for 5 criteria.
I have read through a lot of VBA books and there seems to be a number of functions that could do elements of this but I don't know how to put it all together as a module. I would rate my VBA skills as an Enthusiastic Amateur.
If anyone can give any advice, pointers or guidance on this it would be greatly appreciated. Even if you read through this and think it can't be done can you please reply to this and say so, so that I atleast know.
If you have any questions or anything needs clarifying please ask as I'll be watching the post.
Thanks in advance.
Background
I have a table on an SQL database which holds tens of thousands of line items relating to stock items. (Let's call this Main Stock). On a weekly/monthly/quarterly basis I receive new stock lists from manufacturers (Let's call this Manuf Stock) which will contain items already in Main Stock plus new items not included.
The Problem
I need to add any new add items from the Manuf Stock list to the Main Stock list. This would be relatively easy apart from there not being a matching reference on both files. Also, items that may appear to be new items on the Manuf Stock list could actually just be reclassified items. For example: item 205/55/16 94V XPLY Run Flat Pilot HXM could appear as a new item on the Manuf Stock list when it is actually a reclassification of 205/55/16 94V Run Flat Pilot HXM. (This is actually a very simplistic example). In the case of items being reclassified the requirement is to simply point the item on the database to a different code.
Continuing to use the above example this would be stored in the Main Stock file as Section:205, Profile:55, Rim:16, Load Index:94 Speed Rating:V Details: Run Flat Pilot HXM
What I would like to be able to do is have two Excel windows open, one with Manuf Stock and one with Main Stock. Then to click on Section:205 in the Manuf Stock list and have the Main Stock file automatically filter to show only item with a Section of 205, then click on Profile:55 and have the Main Stock file automatically filter to show only items with a Section of 205 and a Profile of 55 and so on for 5 criteria.
I have read through a lot of VBA books and there seems to be a number of functions that could do elements of this but I don't know how to put it all together as a module. I would rate my VBA skills as an Enthusiastic Amateur.
If anyone can give any advice, pointers or guidance on this it would be greatly appreciated. Even if you read through this and think it can't be done can you please reply to this and say so, so that I atleast know.
If you have any questions or anything needs clarifying please ask as I'll be watching the post.
Thanks in advance.