MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Button Initialization

  • To: mathgroup at
  • Subject: [mg106454] Button Initialization
  • From: Francisco Javier Chávez Contreras <francisco.chavez at>
  • Date: Wed, 13 Jan 2010 05:57:49 -0500 (EST)

Hello Friends,

I have installed the v7 of Mathematica. I created a Notebook with many
"Buttons", many of them are for import XLS files.

The buttons are generated as follows: Button["Buscar XLS", tabla1 SystemDialogInput["FileOpen"]]

and work very well, but if i close Mathematica and then re-open the
notebook. I press the "Button" but the variable "tabla1" are empty (should
contain the path of the selected file).Therefore, I need to press
shift-enter to resume using the "Button". Is there any way that the Buttons
are automatically activated when opening the ".nb" file?.

Thank you very much,

Francisco Chavez
Santiago, Chile.

  • Prev by Date: Rotated text labels
  • Next by Date: Re: Re: Re: Re: More /.{I->-1} craziness
  • Previous by thread: Re: Rotated text labels
  • Next by thread: default options, OptionsPattern[], and FilterRules[]