Here is the latest version of my quoting tool. I have tried stepping through the code but I couldn’t see anything from that.
Depending on the organisation that is under the heading “Requesting Organisation” on the sheet “Costing_tool” will partly determine what document that row of the quote is copied to. The rows are also copied to financial year documents. If “Ang Wes” is displayed under the requesting organisation, the rows are copied to Internal Work Allocation Sheets depending on the financial year. Therefore, if a row has the date within the financial year 2018-2019 and if it has “Ang Wes” under the requesting organisation on the “costing_tool” sheet, it will be copied to the “2018-2019 Internal Work Allocation Sheet”.
If there is something other than “Ang Wes” displayed under the requesting organisation and the date of the row is within the 2018-2019 financial year, the name of the document it will be copied to is “2018 2019 NPSS Work Allocation Sheet”. This is what should happen, or what I want to happen.
I should be able to enter data for each row on the NPSS_quote_sheet sheet, which is within the quoting tool, in columns A:G. This will then calculate a price ex GST. When each line of the quote has been entered, I press the “Send to costing tool” button. This part works fine, in the calculation and copying to the “Costing_tool”.
I run into problems when all of the quote rows have been entered in the costing_tool and I try to copy the rows to the relevant allocation sheets by pressing one of the copy to relevant sheet buttons on the costing_tool. It should work as everyone tells me the code looks ok but it keeps telling me “Method Open of object workbooks failed”. All workbooks are stored in the same folder.
In the files I have attached for every row, none have a requesting organisation of “Ang Wes” and a date in July 2018, therefore they should all go to the July sheet within the “2018 – 2019 NPSS Work Allocation Sheet”. It used to work and I have no idea what has happened to it. Can someone help me please?
Here is a link to the quoting tool
https://www.dropbox.com/s/fjljdrd0afd0wgs/quoting tool 11.7 WCI.xlsm?dl=0
Here is the 2018-2019 NPSS Work Allocation Sheet, where the quote rows are being copied to
https://www.dropbox.com/s/zi724xqtu1xdi70/2018 - 2019 NPSS Work Allocation Sheet.xlsm?dl=0
Thanks guys,
Dave