Good afternoon all! I am looking to use an InputBox to find all files in a directory with the extension entered by the user via the InputBox. Here is what I came up with on my own, but this obviously doesnt work since I am here seeking some advice from people who actually know what they are doing Any help will be greatly appreciated!!!! :D
Dim y As String
Dim filename1 As String
y = InputBox("enter animal ID")
Const DirSearch As String = "C:\users\kevin m. costa\Desktop\data\"
filename1 = Dir(DirSearch & ".y")
Do Until filename1 = ""
Call copytest(filename1)
filename1 = Dir
Bookmarks