Bonjour le forum,J'aimerais copier depuis une cellule x à y seulement sa valeur et la couleur j'ai essayé le code ci-dessous mais cela ne fonctionne.
Code:
Range("A1").Select
Selection.PasteSpecial Paste:=xlPasteValuesAndNumberFormats, Operation:= _
xlNone, SkipBlanks:=False, Transpose:=False
Pourriez-vous m'aider pour trouve le bon code. J'ai essayé aussi avec les possibilité ci-dessous mais cela ne fonctionne pas non plus.
xlPasteAll -Everything will be pasted.
xlPasteAllExceptBorders - Everything except borders will be pasted.
xlPasteAllUsingSourceTheme -Everything will be pasted using the source theme.
xlPasteColumnWidths -Copied column width is pasted.
xlPasteComments -Comments are pasted.
xlPasteFormats -Copied source format is pasted.
xlPasteFormulas -Formulas are pasted.
xlPasteFormulasAndNumberFormats - Formulas and Number formats are pasted.
xlPasteValidation -Validations are pasted.
xlPasteValues -Values are pasted.
xlPasteValuesAndNumberFormats - Values and Number formats are pasted
Merci pour votre aide.
Soleil11😕