D
Doc60
I trying to use the following but I am obviously missing something help would
be appreciated.
When lookinga this please remember I am trying to get the code to look at
the value in a specific cell (5,7) (or a bookmark) to evaluate if it is null
or has any value or number. This is a very simplistic way of what I am trying
to do but it will help if someone could advise me how to get this right.
Dim Number As Integer
Number = cell(5, 7) ' Initialize variable.
' Evaluate Number and branch to appropriate label.
If Number =null Then GoTo Line1 Else GoTo Line2
'If ActiveDocument.Tables(1).cell(5, 7).Range > 1 Then GoTo Line2 Else
GoTo
Line1
Line1:
Selection.MoveDown Unit:=wdLine, Count:=5
Line2:
Selection.MoveDown Unit:=wdLine, Count:=1
Thank you
be appreciated.
When lookinga this please remember I am trying to get the code to look at
the value in a specific cell (5,7) (or a bookmark) to evaluate if it is null
or has any value or number. This is a very simplistic way of what I am trying
to do but it will help if someone could advise me how to get this right.
Dim Number As Integer
Number = cell(5, 7) ' Initialize variable.
' Evaluate Number and branch to appropriate label.
If Number =null Then GoTo Line1 Else GoTo Line2
'If ActiveDocument.Tables(1).cell(5, 7).Range > 1 Then GoTo Line2 Else
GoTo
Line1
Line1:
Selection.MoveDown Unit:=wdLine, Count:=5
Line2:
Selection.MoveDown Unit:=wdLine, Count:=1
Thank you