Afternoon,
I need to load about 6 sets of numbers onto a userform when the stats userform is loaded to give an overview to managers.
I am using the code below but it debugs out.
I have tried stepping into the code but it isnt showing anything.
Please help
Many Thanks
Gavin
I need to load about 6 sets of numbers onto a userform when the stats userform is loaded to give an overview to managers.
I am using the code below but it debugs out.
I have tried stepping into the code but it isnt showing anything.
Please help
Many Thanks
Gavin
Code:
'enters the date on the form
Private Sub userform_Initialize()
Dim Today
Today = Format(Now, "dd/m/yyyy")
Me.Today.Value = Today
Me.Today.Locked = True
Workbooks.Open Filename:="C:\Users\MAZZA\Documents\Gavin\Car Park\FYVData.xls" 'Home
On Error Resume Next
Set myBook = Application.Workbooks("FYVData.xls")
On Error GoTo 0
Dim iRow As Long
Dim ws As Worksheet
Dim lRow As Integer
Set ws = Worksheets("Breakdown Stats")
FYVOverview.Show False
FYVOverview.TextBox1.Value = Cells(C3)
FYVOverview.TextBox7.Value = Cells(C4)
FYVOverview.TextBox6.Value = Cells(C5)
End Sub