Professional Documents
Culture Documents
Desmesclar VBA
Desmesclar VBA
Sub Desmesclar_Mantendo_valores_nas_celulas()
Dim Rng As Range
For Each Rng In Application.Selection
If Rng.MergeCells Then
With Rng.MergeArea
.UnMerge
.Formula = Rng.Formula
End With
End If
Next
End Sub