Thanks, for the responses, guys. To answer zeglar's question first, I want/need the macro because there are too many possible "if" conditions. Yes, I suppose I could make this massive list of nested "if" functions and copy it into the hundreds of Column E cells, but that's a kludge at best. A macro would be cleaner and simpler.
As for the code. I've inserted the two TEST versions of the macro below. Both tests are truncated versions of what the full macro would be; I wanted to make sure it would work (or fail) in just a few test cases before going to the effort of creating the full macro.
Keep in mind that I am NOT a professional or even active hobbyist programmer. I'm a rank amateur and I know it. In fact, this is the first time I've tried to write Excel macros, and the books and online references I've looked at have helped, but only a little. But I do know that a macro is the right approach for what is going to be a monthly task that is only going to get bigger and bigger over time.
OK, here's the first test code:
Sub InsertModuleDuration()
'
'This macro is meant to insert the correct run time for each module in the "FullTime" column based on the module name found in Column A.
'At the moment it inserts the 2015 QAR total time in all cells in Column F ("FullTime"), irrespective of what module name is in Column A.
'
Dim ModNameArray(12)
Dim ModName
ModName = Array("Web Reporting - Quarterly Activity Report (#359522133)", "Creating the 2015 Annual Activity Plan (#384851572)", "2015 Quarterly Activity Report Training (#266187068)", "Web Reporting - Quarterly Financial Report (#738687927)", "Maintaining 501(c)(3) Tax-Exempt Status (#295966425)", "Logging onto AFA.org and Using Communities (#663180732)", "AFA Organization Part 1 (#327636385)", "Recruiting New Members Part 1 (#104705933)", "Recruiting New Members Part 2 (#956869816)", "Recruiting New Members Part 3 (#221373462)", "Leadership Planning, Recruitment, and Retention (#919359449)", "Building An Effective Community Partner Program (#288152105)", "Building Effective Chapter and Base Relationships (#141988536)")
FinalRow = Cells(Rows.Count, 1).End(xlUp).Row
Range("A2", Cells(FinalRow, 1)).Value = ModName
For x = 2 To FinalRow
Select Case Cells(x, 1).Value
Case "2015 Quarterly Activity Report Training (#266187068)"
Cells(x, 6) = 3007 / 86400
Case "Web Reporting - Quarterly Activity Report (#359522133)"
Cells(x, 6) = 1990 / 86400
End Select
Next x
MsgBox "Macro Complete"
End Sub
Here's the code for the second test:
Sub InsertModDuration2()
'
'This macro is a test using If... Then logic to try to get the correct times displayed in the "FullTime" column based on the module name found in Column A.
'This code blanks columns A and E (H:MM:SS; the viewing time in hours:minutes:seconds format). I have no idea why it's blanking column E.
'
Dim ModName As String
' ModName = Array("Web Reporting - Quarterly Activity Report (#359522133)", "Creating the 2015 Annual Activity Plan (#384851572)", "2015 Quarterly Activity Report Training (#266187068)", "Web Reporting - Quarterly Financial Report (#738687927)", "Maintaining 501(c)(3) Tax-Exempt Status (#295966425)", "Logging onto AFA.org and Using Communities (#663180732)", "AFA Organization Part 1 (#327636385)", "Recruiting New Members Part 1 (#104705933)", "Recruiting New Members Part 2 (#956869816)", "Recruiting New Members Part 3 (#221373462)", "Leadership Planning, Recruitment, and Retention (#919359449)", "Building An Effective Community Partner Program (#288152105)", "Building Effective Chapter and Base Relationships (#141988536)")
FinalRow = Cells(Rows.Count, 1).End(xlUp).Row
Range("A2", Cells(FinalRow, 1)).Value2 = ModName
For x = 2 To FinalRow
If ModName = "Web Reporting - Quarterly Activity Report (#359522133)" Then
Cells(x, 6) = 3007 / 86400
End If
Next x
MsgBox "Macro Complete"
End Sub
Hope this helps. I appreciate your feedback.