trevormay99
New Member
- Joined
- Aug 25, 2023
- Messages
- 23
- Office Version
- 365
- Platform
- Windows
I recorded a macro that searches for excel formulas, selects, copies and pastes the formulas to the top of the spreadsheet, more specifcally N2, the code runs and functions properly when used alone, however when I call the macro into another macro and run them together I get an run time error 1004 no cells found. Is there anyway I can get this macro added into another macro so they can run together and still function properly
VBA Code:
Private Sub SumFix()
'
' SumFix Macro
'
'
Selection.SpecialCells(xlCellTypeFormulas, 23).Select
Selection.Copy
ActiveWindow.SmallScroll Down:=-18
Range("N2").Select
ActiveSheet.Paste
End Sub