Hi all,
Im newbie in VBA and i have an issue about duplicate selection.
im using this code monthlyfile = Application.GetOpenFilename("Text Files (*.txt), *.txt") in my macro to select a specific file and fetch the data from it. Example: im selecting Jan 2017 file.
I need a code to prevent me from selecting the same file which is Jan 2017 because its already selected before when Im supposed to select Feb 2017.
Much appreciated
ATTN: IM NEWBIE, please try to keep the discussion as simple as possible
Im newbie in VBA and i have an issue about duplicate selection.
im using this code monthlyfile = Application.GetOpenFilename("Text Files (*.txt), *.txt") in my macro to select a specific file and fetch the data from it. Example: im selecting Jan 2017 file.
I need a code to prevent me from selecting the same file which is Jan 2017 because its already selected before when Im supposed to select Feb 2017.
Much appreciated
ATTN: IM NEWBIE, please try to keep the discussion as simple as possible