Hi Guys,
I have to write difficult macro (because it has to be the fastest macro) to copy/paste data and compare it with expected results.
2 goals:
1. Populate data from table tblInput to yellow fields in "Sheet to Check 1"
2. Compare calculated fields in sheet "Result"
So I have 4 sheets:
1) Sheet to Check 1 - here i have to input data into yellow fields from table tblInput from sheet Input.
I started to doing this:
- I added one more artificial "Column1" to table tblInput to with easily transpose it to sheet "Sheet to Check 1"
- I am trying to resize my dictionary to "Sheet to Check 1" yellow fields but only 2 items are transposed, why ?
- maybe there is better way to do it? Use another objects than Dictionary? (and avoid copy and paste which is very slow).
Ok so this is for the first part of macro.
2) Input - Here we have table tblInput
3) Output - table tblOutput
4) Result - expected results when comparing green fields with table tblOutput.
And second part:
All green fields has to be compared with results from tblOutput in sheet "Result".
I created this kind of layout but i am open to your ideas.
How to create the best comparison solution here?
IF looping within arrays one by one and compare values will be ok here? Or maybe i should use other objects? (arrayList ?)
And how to get expected layout format?
Please help,
Best,
Jacek
Bookmarks