jmchowbizarre
New Member
- Joined
- Feb 13, 2015
- Messages
- 6
I am in need of help for VBA code to paste a formula that I will have copied into the clipboard into empty cells only of a range of cells.
Example, my formula is:
=IF(ISNA(VLOOKUP(F100,gpcucndata,3,FALSE)),"",IF(VLOOKUP(F100,gpcucndata,3,FALSE)=0,"",VLOOKUP(F100,gpcucndata,3,FALSE)))
I need to paste that into the empty cells only in selection C6:C18744 (some cells have data I do not want to overwrite)
The range can vary and I'd gladly manually select the range to paste to if necessary.
Example, my formula is:
=IF(ISNA(VLOOKUP(F100,gpcucndata,3,FALSE)),"",IF(VLOOKUP(F100,gpcucndata,3,FALSE)=0,"",VLOOKUP(F100,gpcucndata,3,FALSE)))
I need to paste that into the empty cells only in selection C6:C18744 (some cells have data I do not want to overwrite)
The range can vary and I'd gladly manually select the range to paste to if necessary.