• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member
  • Login

Delivery Control |VBA & Macros|Excel Forum|My Online Training Hub

You are here: Home / Delivery Control |VBA & Macros|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumVBA & MacrosDelivery Control
sp_PrintTopic sp_TopicIcon
Delivery Control
Page: 12Jump to page
Avatar
David_Ng
Member
Members
Level 0
Forum Posts: 306
Member Since:
December 5, 2016
sp_UserOfflineSmall Offline
1
January 13, 2017 - 4:29 pm
sp_Permalink sp_Print

 Can we have a macro to update  our Vendors delivery reply schedule and updated in the Control summary , also calculate the balance quantity of items  to be delivered.

 

ie updated column today reply and ccalculate balance qty to be delivered 

Avatar
David_Ng
Member
Members
Level 0
Forum Posts: 306
Member Since:
December 5, 2016
sp_UserOfflineSmall Offline
2
January 16, 2017 - 3:41 pm
sp_Permalink sp_Print

I still got problem with the forum upload , so no choice I send attachment via Email .

Avatar
Philip Treacy
Admin
Level 10
Forum Posts: 1549
Member Since:
October 5, 2010
sp_UserOfflineSmall Offline
3
January 16, 2017 - 4:57 pm
sp_Permalink sp_Print

Hi David,

Uploads are working fine for me.

After you click Attachments, you have to click Add Files, browse/select the file, then click on Start Upload, and finally click on Submit Reply to post the document to the forum.

Phil

Avatar
David_Ng
Member
Members
Level 0
Forum Posts: 306
Member Since:
December 5, 2016
sp_UserOfflineSmall Offline
4
January 16, 2017 - 5:12 pm
sp_Permalink sp_Print

pls refer attach

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
5
January 16, 2017 - 6:35 pm
sp_Permalink sp_Print

Hi David

I am using a VLOOKUP (instead of a macro) to update the data. Is this sufficient?

As for the Balance To Be Delivered, I am not sure where the data is coming from so I am only making a guess.

Sunny

Avatar
David_Ng
Member
Members
Level 0
Forum Posts: 306
Member Since:
December 5, 2016
sp_UserOfflineSmall Offline
6
January 16, 2017 - 7:26 pm
sp_Permalink sp_Print

Thanks  Sunny for the Vookup suggestion with iferror condition; but It' s not there yet Let me explain a little bit the field stucture in the Table

and the background infomation

(1 ) PO No. -It is self explianatory  [ mainly for Electronics parts]

(2 ) Items number meanng  each PO contains numerious items we want to purchase from the particular Electronics supplier

 So PO+Item number = KLA PO [ field] , really no need to concantenate the two fields for Vlookup purpose , ie simply using this field KLA PO would be fine. 

(3 ) PO sequencet number meaning our System record how many times the supplier respond to our PO and its items enquiry in particulay the delivery schedule , and quantity can be delivered, our enquiry.

So what we want is everytime we issue the PO we continue follow-up the delivery status of each items, after receiving their [ suppliers replies] then we want to update our schedule, preferably using macro, to reflect the latest position of each PO.

Also if additional Purchase orders is to abe added to the existing schedule, using macro

We want to know after the  delivery [ Receiving] of the Purcahse Order  items we want to know the bal and delevery schedule , which we need to pus further to our suppliers

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
7
January 17, 2017 - 1:23 am
sp_Permalink sp_Print

Hi David

If you could show from your attachment what are the expected results and where they are updated from (sheet name/column etc), it would be easier to understand.

Sunny

Avatar
David_Ng
Member
Members
Level 0
Forum Posts: 306
Member Since:
December 5, 2016
sp_UserOfflineSmall Offline
8
January 17, 2017 - 1:06 pm
sp_Permalink sp_Print

Dear Sunny ,

Sequence is

Today Reply  --> Purchase Order Control summary[ Column:  Today Reply] Qty

 

PO Bal Qty =PO Qty - Received Qty 

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
9
January 17, 2017 - 2:10 pm
sp_Permalink sp_Print

Hi David

Sorry I am still not too clear about your requirements. Hope I understood you correctly.

Attached contains 2 macros that does the following.

1) Update the Purchase Order Control Summary column N from Today Reply column C.

2) Update the Balance Items To Be Delivered column G from Purchase Order Control Summary column I - Q (minus).

Sunny

Avatar
David_Ng
Member
Members
Level 0
Forum Posts: 306
Member Since:
December 5, 2016
sp_UserOfflineSmall Offline
10
January 17, 2017 - 4:18 pm
sp_Permalink sp_Print

Thanks Sunny!

I think you got the problems almost solved

But there are two more points

(1 ) How to add new PO data [ Sheet : "New PO" to the Purchase Order Control summary using Macro

(2 ) How to calculate the Balance to be delivered in each PO  after update suppliers, Todays reply ,Previous reply,Received Qty using macro

    pls refer following example

 

ie  PO Number       PO Qty        Prevous Reply       Today Reply    Received Qty                    Balance Quantity[ need to show by PO number

274715-10          50,000           5,000                     3,000           5000                  37,000
Avatar
David_Ng
Member
Members
Level 0
Forum Posts: 306
Member Since:
December 5, 2016
sp_UserOfflineSmall Offline
11
January 17, 2017 - 4:35 pm
sp_Permalink sp_Print

Psl refer attn samples for New PO data to be upload the control summary

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
12
January 17, 2017 - 6:17 pm
sp_Permalink sp_Print

Hi David

I have included the add new PO macro.

For Q2 (calculate balance to be delivered), is it a separate report? Why are you including Previous Reply as it had already been updated previously?

You will definitely need to change the macro that I have done for you to suit your requirements. I noted that there are some duplicate PO and some PO not found. I assume this is because it is a test data. Otherwise you will need to be careful as the results may be inaccurate. You will also need to be sure which macro needs to run first as it will have an effect on the final result.

Sunny

Avatar
David_Ng
Member
Members
Level 0
Forum Posts: 306
Member Since:
December 5, 2016
sp_UserOfflineSmall Offline
13
January 17, 2017 - 7:21 pm
sp_Permalink sp_Print

Thanks Sunny !

For Q2 (calculate balance to be delivered), is it a separate report?  David :Yes , it is considered a separate report we want ourself to be alert as we want to push further to our supplier to provide the  delivery schedule and their committed materials quantity, without such Reports highlighted, our production plant will come to a stoppage if the materials cannot be delivered on time. The Update Balance macro button does help effectively to achieve the purpose, we willl modify the VB to exact suit our live run requirements, thanks millions,  Sunny.

Why are you including Previous Reply as it had already been updated previously? - David : Correct no need, PO Qty minus Qty Received will do.  

You will definitely need to change the macro that I have done for you to suit your requirements. I noted that there are some duplicate PO and some PO not found. I assume this is because it is a test data. Otherwise you will need to be careful as the results may be inaccurate. You will also need to be sure which macro needs to run first as it will have an effect on the final result.

David : Yes your understanding is correct, they are purely testing data purely for testing and building-up of the VB.

Sorry, we should have point out a lot earlier to ignore the data logic.   

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
14
January 18, 2017 - 9:12 am
sp_Permalink sp_Print

Hi David

Refer attachment

Sunny

Avatar
David_Ng
Member
Members
Level 0
Forum Posts: 306
Member Since:
December 5, 2016
sp_UserOfflineSmall Offline
15
January 18, 2017 - 2:00 pm
sp_Permalink sp_Print

It 's terrifice, wonderful you got the VB loop working beautifully.

Really do arppreciate that , Sunny..

Avatar
julian
Member
Members
Level 0
Forum Posts: 81
Member Since:
December 12, 2016
sp_UserOfflineSmall Offline
16
January 18, 2017 - 5:30 pm
sp_Permalink sp_Print

Hi Sunny,

The first few rows of module 11 are garbled as quoted below, could you please show me the right script for my reading. Thanks.

Sub ?()
Attribute ?.VB_Description = "? : 2011/1/4  ? : Naomi Lee"
Attribute ?.VB_ProcData.VB_Invoke_Func = "U
14"

'Copy and save previous data

Regards,

Julian

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
17
January 18, 2017 - 5:40 pm
sp_Permalink sp_Print

Hi Julian

My codes are in Module 1 and Module 7 (I should have put them together).

The others are not my codes and it came with the file.

Sunny

Avatar
David_Ng
Member
Members
Level 0
Forum Posts: 306
Member Since:
December 5, 2016
sp_UserOfflineSmall Offline
18
January 19, 2017 - 12:26 pm
sp_Permalink sp_Print

Sorry,  some codes are denoted in Jap/Korean Language.

 

David

Avatar
julian
Member
Members
Level 0
Forum Posts: 81
Member Since:
December 12, 2016
sp_UserOfflineSmall Offline
19
January 19, 2017 - 1:45 pm
sp_Permalink sp_Print

Can it be opened to me?

Avatar
David_Ng
Member
Members
Level 0
Forum Posts: 306
Member Since:
December 5, 2016
sp_UserOfflineSmall Offline
20
January 20, 2017 - 1:00 pm
sp_Permalink sp_Print

OK , no problems let me tidy up a bit the VB code, then share it with you after the Chiense New Year Holidays.

Again thanks Sunny  the great contributions you put forward so far ..

Page: 12Jump to page
sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Norilina Harvel, Chris Ritcey
Guest(s) 10
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 880
Purfleet: 414
Frans Visser: 346
David_Ng: 306
lea cohen: 237
Jessica Stewart: 219
A.Maurizio: 213
Aye Mu: 201
jaryszek: 183
Newest Members:
Lisa Myers
David von Kleek
Ronald White
Ginette Guevremont
Taryn Ambrosi
Mark Davenport
Christy Nichols
Harald Endres
Ashley Hughes
Herbie Key
Forum Stats:
Groups: 3
Forums: 24
Topics: 6528
Posts: 28594

 

Member Stats:
Guest Posters: 49
Members: 32818
Moderators: 2
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel Office Scripts
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook

Sign up to our newsletter and join over 400,000
others who learn Excel and Power BI with us.

 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate
  • Sponsor Our Newsletter

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.