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

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.

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,175,986
Messages
5,900,737
Members
434,848
Latest member
kubersood321

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