I have an application in excel in which we would like to use one cell per letter much like a form. I have a macro in a modual evaluating the len(activecell.value)
if > 0 I want it to move to the next unlocked cell.
Dim varCol As Variant
Dim varRow As Variant
Dim varCell As Variant '
' autotab Macro
' Macro recorded 4/4/2002 by mtc
'
varCell = ActiveCell.Value
varCol = ActiveCell.Column
varRow = ActiveCell.Row
'varRow = cell("row", ActiveCell)
'Select Case ActiveCell.Address
If Len(varCell) > 0 Then
Range(varCol + 1 & varRow).Select
End If
End Sub
*******************************************************
the code above blows up when it gets to the range statment
some type of 'global' error.
Any sugestions?
Matt
if > 0 I want it to move to the next unlocked cell.
Dim varCol As Variant
Dim varRow As Variant
Dim varCell As Variant '
' autotab Macro
' Macro recorded 4/4/2002 by mtc
'
varCell = ActiveCell.Value
varCol = ActiveCell.Column
varRow = ActiveCell.Row
'varRow = cell("row", ActiveCell)
'Select Case ActiveCell.Address
If Len(varCell) > 0 Then
Range(varCol + 1 & varRow).Select
End If
End Sub
*******************************************************
the code above blows up when it gets to the range statment
some type of 'global' error.
Any sugestions?
Matt