I think you need to change:
Sub pivot_extract()
'
' pivot_extract Macro
'
'
Dim I
Col = InputBox("Column to start on?")
Cell = InputBox("Cell to start on?")
L = InputBox("How many times to repeat?")
For I = 1 To L
Application.ScreenUpdating = False
Cell = Cell + 1
Range(Col & Cell).Select
Selection.ShowDetail = True
Sheets("ILCC Pivots").Select
Next I
End Sub
To this:
Sub pivot_extract()
'
' pivot_extract Macro
'
'
Dim I
Col = InputBox("Column to start on?")
Cell = InputBox("Cell to start on?")
L = InputBox("How many times to repeat?")
For I = 1 To L
Application.ScreenUpdating = False
Range(Col & Cell).Select
Selection.ShowDetail = True
Sheets("ILCC Pivots").Select
Cell = Cell + 1
Next I
End Sub
Bookmarks