Paste special

Bryan_Mc

New Member
Joined
Nov 6, 2009
Messages
16
I am trying to paste special a cell (A1) with the formatted result containing a calculation "=B2" and is formatted to show the date as a day. I.E 07/03/2011 formatted to show "Mon"

e.g. i have got cell A1 to look at Cell B1 (Contains Date) and formatted it using the custom function to "DDD"

I now want to copy and pastespecial the "day" in Cell A1 to A1 but it still recognises the date. Is there VBA that will do this and for any other cells in column A with the same sliding formula and format.
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".

Boller

Banned
Joined
Apr 11, 2006
Messages
2,328
Code:
[A1] = Application.WorksheetFunction.Text([A1], "ddd")

Or instead of VBA, you could put the following formula in A1 and copy down :-

=TEXT(B1,"DDD")
 
Last edited:

Forum statistics

Threads
1,141,728
Messages
5,708,137
Members
421,549
Latest member
Dtcfire

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
Top