ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   new day in next worksheet Day 1 plus 1? (https://www.excelbanter.com/excel-discussion-misc-queries/155840-new-day-next-worksheet-day-1-plus-1-a.html)

Den

new day in next worksheet Day 1 plus 1?
 
add the value to a date in 1st worksheet to the value in the date in the new
work sheet.
using a macro function
I would like to add a new worksheet and use the date value in the previous
sheet with an increment of 1.
So make worksheet with sunday jan 1 in cell a1 and add a new worksheet so
monday jan 2 is in cell a1 wksht 2.

make newsheet (lastsheet(a1)+1) ???????

Gary''s Student

new day in next worksheet Day 1 plus 1?
 
Sub bumpit()
Sheets("Sheet2").Range("A1").Value = Sheets("Sheet1").Range("A1").Value + 1
End Sub

--
Gary''s Student - gsnu200740


"Den" wrote:

add the value to a date in 1st worksheet to the value in the date in the new
work sheet.
using a macro function
I would like to add a new worksheet and use the date value in the previous
sheet with an increment of 1.
So make worksheet with sunday jan 1 in cell a1 and add a new worksheet so
monday jan 2 is in cell a1 wksht 2.

make newsheet (lastsheet(a1)+1) ???????



All times are GMT +1. The time now is 08:39 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com