It's an integer variable...
' ***********************************************
' Creates BRAG tables
With frmTestingStartDate
startDate = .txtStartDate
Select Case .txtWeeks.Value
' Creates 1 week's BRAG status
Case Is = 1
goHere_row = 1
goHere_col = 1
Call CreateOverallBrag(startDate, goHere_row, goHere_col)
Call PopulateBragFormulae
' Creates 2 weeks' BRAG status
Case Is = 2
goHere_row = 1
goHere_col = 1
Call CreateOverallBrag(startDate, goHere_row, goHere_col)
startDate = startDate + 7
goHere_row = 1
goHere_col = 9
Call CreateOverallBrag(startDate, goHere_row, goHere_col)
' Set column start for component BRAG table creation
' and enter week number, and create table
bragCol = 20
weekNum = 1
Sheets("BRAG Status").Cells(bragCol, 2).Value = weekNum
Call ComponentBrag(bragCol, weekNum)
bragCol = bragCol + 3
weekNum = weekNum + 1
Sheets("BRAG Status").Cells(bragCol, 2).Value = weekNum
Call ComponentBrag(bragCol, weekNum)
Bookmarks