Skip to main content
2 of 2
Formatting
N.J.Evans
  • 5.1k
  • 21
  • 26

I'm new and this is my 1st answer. Try the following:

Button["Import", file = SystemDialogInput["FileOpen"]; 
If[ Not@TrueQ[file == $Canceled], data = Import[file]], 
Method -> "Queued"]
uC-Harry
  • 239
  • 1
  • 5