sspatriots
Well-known Member
- Joined
- Nov 22, 2011
- Messages
- 585
- Office Version
- 365
- Platform
- Windows
Hi,
I have a table in the code below that puts formulas all the way down the table. I'm trying to edit this code to convert all of those formulas to values once the formulas populate the same column. The column heading is called "Folder Contents". Any assistance would be greatly appreciated.
Thanks, SS
I have a table in the code below that puts formulas all the way down the table. I'm trying to edit this code to convert all of those formulas to values once the formulas populate the same column. The column heading is called "Folder Contents". Any assistance would be greatly appreciated.
Thanks, SS
VBA Code:
Private Sub Workbook_Open()
Dim wb1 As Workbook
Dim ws1 As Worksheet
Dim tb1 As ListObject
Set wb1 = ThisWorkbook
Set ws1 = wb1.Sheets("Sheet1")
Set tb1 = ws1.ListObjects("PO2024List")
Application.DisplayAlerts = False
Range("A3").Select
ActiveCell.Formula2R1C1 = "=IFERROR(INDEX(FilePathList,ROW()-2),"""")"
Range("A3").Select
Application.DisplayAlerts = True
End Sub