Excel keeps saying there is an error with
startd = wb1.Sheets("Master List").Range(i, 10)
anyway i change it (taking away set, changing the dim of startd, doesnt seem to work)
Please help. (i am aware that there is probably a few other issues with this that i havent come across.....macros are hard!)
thanks for the help.
Wsk92
startd = wb1.Sheets("Master List").Range(i, 10)
anyway i change it (taking away set, changing the dim of startd, doesnt seem to work)
Please help. (i am aware that there is probably a few other issues with this that i havent come across.....macros are hard!)
Sub COLLECT_INFO()
Dim i As Integer
Dim Weld As Variant, Elect As Variant, Paint As Variant, Assem As Variant
Dim wb1 As Workbook
Set wb1 = Workbooks.Open("EV ARC Master List (version 1).xlsx")
Dim SD As String
Dim FD As String
SD = "Project Start"
FD = "Project Finish"
i = 4
Dim startd As Integer
startd = wb1.Sheets("Master List").Range(i, 10)
Dim ARC_NUM As Integer
ARC_NUM = wb1.Sheets("Master List").Range(i, 2)
Weld = DateAdd(w, Sheets("Projects").Range(19, 4), start_d)
Elect = DateAdd(w, Sheets("projects").Range(20, 4), start_d)
Paint = DateAdd(w, Sheets("projects").Range(21, 4), Weld)
Assem = DateAdd(w, Sheets("projects").Range(22, 4), Paint)
thanks for the help.
Wsk92