我无法弄清楚如何在Microsoft Project 2013中引用列。
我需要的基本上是:
现在,如果它是Excel,我会使用类似下面的内容:
Private Sub Worksheet_Change(ByVal Target As Range)
Dim Work As String
If Target.Cells.Count > 1 Then Exit Sub
If Not Intersect(Target, Range("A1:A100")) Is Nothing And Target.Value <> 0 Then
Work = InputBox("Enter time spent", "Time Spent")
Target(1, 2) = Work
End If
End Sub