-
-
Save DonKeyHot1/e022f9c7008dac8cf673e856b6e835a6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Private Sub CommandButton1_Click() | |
For x = 3 To 50 | |
If ActiveSheet.Rows(x).OutlineLevel = 1 Then | |
Range("A" & x).Value = Range("C" & x).Value | |
ElseIf ActiveSheet.Rows(x).OutlineLevel = 2 Then | |
Range("B" & x).Value = Range("C" & x).Value | |
End If | |
Next x | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment