Hallo,
ich hab in einer GUI die folgenden 3 Dinge:
- eingebettete Excel Tabelle
- Inputbox in die ich einen Namen zum speichern eingeben kann
- Button, dessen klicken bewirkt, dass die Excel Tabelle als .csv abgespeichert wird (über ein Excel Makro das dan ausgeführt wird)
Jetzt hab ich das Problem, dass dieser Buttonklick nur funktioniert, wenn die Exceltabelle das letzte ist, was ich angeklickt habe. Das heißt, gebe ich einen Namen in die Inputbox ein, muss ich erst nochmal auf die Tabelle klicken, bevor ich auf meinen Button klicken darf. Ansonsten kommt ein Error.
Kennt ihr eine Möglichkeit, wie ich die Tabelle vlt durch den Buttonklick erst "aktivieren" kann, bevor mein Programm versucht ne .csv Datei daraus zu machen?