• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Copy only cell text, format and width

Hello SPP,

If you also need the validation lists copied over, then this should help:-

Code:
Sub CopyAll()

Application.ScreenUpdating = False

        With Plan1
                .[B11].Copy
                        Plan2.[H2].PasteSpecial -4104
                .[B13].Copy
                        Plan2.[F2].PasteSpecial -4104
                .[B15].Copy
                        Plan2.[I2].PasteSpecial -4104
                .Range("B17:P2000").Copy
                        Plan2.[B4].PasteSpecial -4104
        End With

Application.CutCopyMode = False
Application.ScreenUpdating = True

End Sub

I hope that this helps.

Cheerio,
vcoolio.
 
vcoolio

Good Morning!

I need you to copy without the validation lists, only the text that is in the cells
 
Hello SPP,

Perhaps this then:-

Code:
Sub CopyAll()

Application.ScreenUpdating = False

        With Plan1
                .[B11].Copy
                        Plan2.[H2].PasteSpecial -4163
                        Plan2.[H2].PasteSpecial -4122
                .[B13].Copy
                        Plan2.[F2].PasteSpecial -4163
                        Plan2.[F2].PasteSpecial -4122
                .[B15].Copy
                        Plan2.[I2].PasteSpecial -4163
                        Plan2.[I2].PasteSpecial -4122
                .Range("B17:P2000").Copy
                        Plan2.[B4].PasteSpecial -4163
                        Plan2.[B4].PasteSpecial -4122
        End With

Application.CutCopyMode = False
Application.ScreenUpdating = True

End Sub

Cheerio.
vcoolio.
 
You're welcome SPP. I'm glad to have been able to assist you.

If you don't want the interior cell colors copied over to Plan2 then add this line of code:-

Code:
Plan2.Range("B4:P2000").Interior.ColorIndex = xlNone

directly after "End With".

Cheerio,
vcoolio.
 
Back
Top