I ended up re-wring that code a different way. It works now. The issue now is understanding MS Project. I am trying to select a cell, which I can, and then return a string for what text is in it, which I just can't figure out. Here is an exact picture of the project and what I can't identify.

I am trying to select a resource code, store it as a string, match that string to a value in Excel spreadsheet, then fill out the hours accordingly. I just can't return a value, it seems so simple but I just can't make any code work.
VB Code:
  1. Rws = 1
  2. ViewApply Name:="Tas&k Usage"
  3. SelectTaskField Row:=1, Column:="Name", RowRelative:=True
  4. For R = 2 To ActiveProject.Tasks.Count
  5.     ObjTask = ActiveProject.Tasks(R).Name
  6.     Sheets("Summary Hrs").Activate
  7.     Columns("B:B").Select
  8.     Selection.Find(What:=ObjTask, After:=ActiveCell, LookIn:=xlFormulas, _
  9.     LookAt:=xlWhole, SearchOrder:=xlByRows, SearchDirection:=xlNext, _
  10.     MatchCase:=False).Activate
  11.     Rws = ActiveCell.Row + 1
  12.     If Cells(Rws, "C") <> "" Then
  13.         SelectTaskField Row:=0, Column:="Name"
  14.         'below selects the resource code's cell
  15.         SelectTaskField Row:=1, Column:="Name"
  16.         'MyResource is nothing. I've tried different
  17.         'ways of using ActiveProject or ActiveSelection
  18.         'with no avail
  19.         MyResource = ActiveSelection.FieldName
  20.        
  21.     'this is where I go to excel, match the value
  22.     'grab the "hours" value, then stick it where it goes
  23.         SetResourceField Field:="Work", Value:=hours, AllSelectedResources:=True
  24.        
  25.     End If
  26. Next R
So any suggestions????

QueenB