Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Den Den is offline
external usenet poster
 
Posts: 3
Default 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) ???????
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default 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) ???????

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
plot graph from multiple worksheet as embedded chart object on every worksheet [email protected] Charts and Charting in Excel 3 August 24th 06 07:26 PM
plot graph from multiple worksheet as embedded chart object on every worksheet [email protected] Excel Discussion (Misc queries) 2 August 24th 06 05:26 PM
plot graph from multiple worksheet as embedded chart object on every worksheet jeftiong New Users to Excel 0 August 23rd 06 01:50 PM
Upload multiple text files into 1 excel worksheet + put the filename as the first column in the worksheet Aster Excel Worksheet Functions 3 March 12th 06 09:58 AM
I want in one worksheet to relatively link to/reference cells in another without changing the format of the current worksheet. [email protected] Excel Discussion (Misc queries) 0 September 22nd 05 04:39 PM


All times are GMT +1. The time now is 10:22 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"