I have a simple question that should be simple to answer. I am trying to make a string reflect the value of a cell. The naming scheme of the spreadsheet that it will import is the value of "(CSV) & ("[1].csv") with no space. CSV is the value of B5. If the variable CSV = WASHINGTON I need the line to read
Windows(WASHINGTON[1].csv).Activate
Below is what I have. I am having an error with the CSV Variable.
Sub Import_CSV()
Import_CSV Macro
    Dim CSV As Long
    Application.DisplayAlerts = False
    Windows("Records.xlsm").Activate
    Worksheets("Data").Activate
    CSV = Cells(5, "B").Value
    Windows(CSV & "[1].csv").Activate
    Rows("1:2").Select
    Range("A2").Activate
    Selection.Cut ... etc
Any Help is greatly appreciated.
 
     
    