In col A I have a list of c++ data types in sheet 3 of my workbook In col C I have the number of bytes associated with each data type.
In sheet 1 col A I have a pull down selection box based on the data types in sheet 3.
I have a button to run a Macro to populate col C on this sheet with the associated data size from sheet 3.
Data is thus:
- col A col C
- char 8
- int 16
- long 32
etc etc
I find the total number of rows populated with: Lastrow = Cells.Find("*", [A1], , , xlByRows, xlPrevious).Row
That is the max row count for my loop how can I make the comparison for each row in col A sheet 1 against each row in col A on sheet 3 in order to grab the correct value from col C on sheet 3. and put it into the corresponding row in col C on sheet 1. Thnks.
=VLOOKUP(A1,Sheet3!A:C,3,FALSE)
– tigeravatar