PASTE SPECIAL VALUES

Ripote

New Member
Joined
Aug 5, 2021
Messages
7
Office Version
  1. 365
Platform
  1. Windows
Dear All
Good Afternoon !!!
I have faced many this issue many times working on excel files e.g. in a excel file i have selected any particular item using "Filter" which has 5-6 line items , now suppose i want to paste special values in all those rows altogether, i can not do so a message pop-up "You can't paste this here because the Copy area and paste area aren't the same size. Select just one cell in the paste area or an area that's the same size,and try pasting again." Request you to kindly advise if there is any way to avoid this and i can paste special values
 

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)
Hi,​
maybe you had the worst idea to merge some cells ? If yes just unmerging your issue may be solved …​
 
Upvote 0
Request you to kindly advise if there is any way to avoid this and i can paste special values
Pastespecial can not be used with non contiguous ranges, which a filtered range would be. You would need to use vba to convert the formula to values, the simple procedure below will convert the formulas in the selected visible cells to values.
VBA Code:
Sub Ripote()
Dim c As Range
For Each c In Selection.SpecialCells(xlVisible)
    c.Value = c.Value
Next c
End Sub
 
Upvote 0

Forum statistics

Threads
1,214,832
Messages
6,121,844
Members
449,051
Latest member
excelquestion515

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