I have a 3/sheet workbook, sheet 1 used to quote pricing, has about 15fields I need to set to blank or zero when workbook is loaded. Can Iinitialize Sheet 1 only with a VBA script.
Yes.(But the question seems so rhetorical, I wonder if there is some subtlety thatI'm missing. Like to give a little more detail?)
Create a Module withSub Auto_Open()'initialize Cells A1 thru A15 to blankSheets("Sheet1").Range("A1:A15").Value = ""'initialize Cells B1 thru B15 to zero(0)Sheets("Sheet1").Range("B1:B15").Value = 0'initialize Cells A20 thru B40 to blankSheets("Sheet1").Range("A20:B40").Value = ""'initialize Cells C20 thru D40 to zero(0)Sheets("Sheet1").Range("C20:D40").Value = 0End Sub