with inputbox i can enter data to cell but in new window, can i input datadirect to cell with vba?
Yes, I do quite often.ActiveCell.FormulaR1C1 = strMonth & "/" & strDay & "/" & strYearWill concatenate date values with the / to provide a converted date.ActiveCell.Offset(1, 0).Range("A1").Select 'Moves the cursor down tothe next row.
ActiveCell.Offset(1, 0).Range("A1").Select 'Moves the cursor down towhat is funtion Range("A1") ? i try without Range("A1") its run ok.
You are correct, the Range("A1") is redundant.
Yes. Just create a Range reference that points at the cell - e.g. Range("A5")and set its Value or Formula property to whatever you want to put in the cell.