Created
September 13, 2016 09:36
-
-
Save anonymous/b6c367addeb2a3580d769ec7c602dd67 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
Sub Macro1() | |
' | |
' Macro1 Macro | |
' | |
' | |
Columns("E:E").Select | |
Selection.Insert Shift:=xlToRight | |
Range("E1").Select | |
ActiveCell.FormulaR1C1 = "testing" | |
Range("E2").Select | |
ActiveCell.FormulaR1C1 = "=VLOOKUP(RC[-1],[testvlookup.xlsx]Sheet1!C1,1,0)" | |
Range("E2").Select | |
Selection.AutoFill Destination:=Range("E2:E746") | |
Range("E2:E746").Select | |
Selection.Copy | |
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _ | |
:=False, Transpose:=False | |
Range("E1").Select | |
Application.CutCopyMode = False | |
End Sub |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment