IJR
Structural
- Dec 23, 2000
- 774
I tried to get values of each cell in column("D
1) using the following code:
sub get_cell_values()
dim n,k as range
set k=columns("D
"
'
for each n in k
if n.value=1 then n.font.bold = true
next k
Problem is n.value= 1 statement fails(Type mismatch error).
What is the problem?. I will later on try to save all values in cells in column D into an array.
Any comment will help on this kind of problems?
THX
IJr
sub get_cell_values()
dim n,k as range
set k=columns("D
'
for each n in k
if n.value=1 then n.font.bold = true
next k
Problem is n.value= 1 statement fails(Type mismatch error).
What is the problem?. I will later on try to save all values in cells in column D into an array.
Any comment will help on this kind of problems?
THX
IJr