Automatic date in following sheets

wavemehello

Board Regular
Joined
Jan 24, 2006
Messages
221
Hi there,
I have a week in sheet1. For eg.
01/07/07 in A1, 02/07/07 in B1 ....... 07/07/07 in G1.
Now in sheet2 I want to continue 08/07/07 in A1 ..... 14/07/07 in G1
and so on and so forth in following worksheets.
How can I automatically obtain the dates in corresponding columns in the following worksheets?

Thank you
 
Oh, now its getting complex, I dont understand a thing, unless someone wishes to explain me what that piece of codes does
 
Upvote 0

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Copy the code which Mr. Jindon provided to you under the "Worksheet_Change" event in the Visual Basic Editor.

Double click on Sheet1 in the project explorer in the VB Editor, on the right hand side pane you have 2 dropdowns. Select "Worksheet" in the first dropdown and then select "SelectionChange" in the second dropdown and paste that code in the white area in between "Private Sub Worksheet_SelectionChange(ByVal Target As Range)" and "End Sub".

I hope you are clear !
 
Upvote 0

Forum statistics

Threads
1,224,802
Messages
6,181,054
Members
453,014
Latest member
Chris258

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top