Hi all!
I am not sure if this is possible, but thought I would ask some more fluent folks in VBA. I have a workbook that has "templates" which allows users to load default projects by clicking a button. Probably not the BEST way to do this but an example of this would be:
I am curious if someone decides to load their own values into the cells and not use one of my templates, is there a way to "copy" their selections and add it to a new sub / macro and prompt them on what to name it?
Thanks!
E
I am not sure if this is possible, but thought I would ask some more fluent folks in VBA. I have a workbook that has "templates" which allows users to load default projects by clicking a button. Probably not the BEST way to do this but an example of this would be:
VBA Code:
Sub CustomProj1()
Application.ScreenUpdating = False
Worksheets("Job1").Range("J4").Value = "0"
Worksheets("Job1").Range("B15").Value = "1"
Worksheets("Job1").Range("C15").Value = "8"
Worksheets("Job1").Range("L4").Value = "1"
Worksheets("Job1").Range("C17").Value = "1"
Worksheets("Job1").Range("E17").Value = "8"
Worksheets("Job1").Range("D17").Value = "8"
Worksheets("Labor").Range("C9").Value = "1"
Worksheets("Labor").Range("C10").Value = "Engineer"
Worksheets("Labor").Range("C11").Value = "8"
End Sub
I am curious if someone decides to load their own values into the cells and not use one of my templates, is there a way to "copy" their selections and add it to a new sub / macro and prompt them on what to name it?
Thanks!
E