I ask because i seem to have an easier time with the syntax when using code such as Cells(r, c) and other variants like that (eg Cells(lastRow, 3), Cells(2, LastCol+1), especially when I have loops, incrementing rows/colmns, etc. However there are times when I know exactly what cell i want (ie A7) or I know the row but am dealing with incrementing columns. Is it bad form to mix notations within code? Is it possible to reference a cell in the a1, B1 etc notation if my desired column is an integer, such as from a counter?
For example, if my code sets col=3, how do I convert it from 3 to C?
Probably very simple or not really a desired practice but I'm hung up on this. Reverted to the R1C1 notation in my current project but it seems hard to follow when debugging... i keep finding myself counting the columns to make sure I know where the code is as it executes.
Thanks!
For example, if my code sets col=3, how do I convert it from 3 to C?
Probably very simple or not really a desired practice but I'm hung up on this. Reverted to the R1C1 notation in my current project but it seems hard to follow when debugging... i keep finding myself counting the columns to make sure I know where the code is as it executes.
Thanks!