How would I create an macro to prompt with current date and change the next cell 1 day ahead? I have a sample of what I have so far. Let me know if I am Close.
Sub Change_dates()
Dim dtDate As Date
dtDate = InputBox("Date", , Date)
For Each cell In Intersect(Range("B " & dblRow).Value = dtDate, ActiveSheet.UsedRange)
cell.Offset(0, 1).Select = cell.Offset(0, 1).Select + 1
Next cell
End Sub
This code will prompt with current date, write to active cell, then write date + 1 to cell in the next column.
This will take the date from the prompt, write it in the selected rows in the range, then put the date + 1 in the rows one column to the right from the selected range.
If you instead want each row in the range to be + 1 day the row before, then I would increment dtDate at the end of the loop before the Next statement.