I am new to VBA and I have to work with a previous colleague's work. I have a code to auto-refresh an excel file, and I am trying to understand this range ("Q1048576") as I have several such in other scripts.. Thanks for your assistance
code
Sub RefreshSalesData()
Dim Location9 As String
Dim Archive9 As String
Dim Location9Archive9 As String
Sheets("Data").Select
Range("Q1048576").Select
Selection.End(xlUp).Select
ActiveCell.Offset(1, 0).Select
ActiveCell.Value = Now()
Location9 = "C:\Users\fred\Documents\data_to_refresh"
Archive9 = "SalesData.xlsx"
Location9Archive9 = Location9 & Archive9