VBA problem..

Sipsoo

New Member
Joined
Jul 12, 2006
Messages
19
Hi,

Getting really desperate and need some serious help.

I am busy trying to write a macro that will enable me to input a month and year i.e aug 2006, it then sets up the spreadsheet as follows..

Tue
Thur
Fri
Sun


Tue
Thur
Fri
Sun


Tue
Thur
Fri
Sun


Tue
Thur
Fri
Sun


Tue
Thur
Fri
Sun

What I am trying to do it is populate the cells next to the days with the date i.e.

Tue 5/09
Thur 7/09
Fri 8/09
Sun 10/09

Tue 12/09
Thur 14/09
Fri 15/09
Sun 17/09

etc.

Is this possible??

Best regards,

Ken
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Sipsoo

Does it need to be a macro? Is this formula approach any use?

Post back if you have any interest in this but modifications are needed.

E3: =DATE(E2,E1+1,1)-1
Individual formula in B2:B4
Formula in B7 copied down to B10
B7:B10 block copied down to the other blocks.
 
Upvote 0
Hi,

Thanks for the formular but I would prefer a macro as the rest of my sheets are macro based.

Regards,

Ken
 
Upvote 0

Forum statistics

Threads
1,218,899
Messages
6,145,097
Members
450,590
Latest member
Naneng

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