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

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
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:
Upvote 0

Forum statistics

Threads
1,214,583
Messages
6,120,383
Members
448,955
Latest member
BatCoder

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