Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel to front
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Excel to front
Divers
Thread ID:
01669450
Message ID:
01669450
Vues:
84
How do I make sure that excel comes to the foreground, without having to click on the excel icon? The following opens excel 2016 but it does not automatically bring excel to to the foreground? Thanks, Steve
oEx = CREATEOBJECT('excel.application')
oEx.Visible= .T.
eFile = "c:\myfile.xls"
Actually, this seems to works but without .visible = .T., the excel menu may not appear.
(http://forum.foxclub.ru/read.php?32,177182,258927)
oEx.WindowState = xlMinimized && Minimize the window
oEx.WindowState = xlMaximized && Maximize the window, which leads to its activation 
oEx.visible = (.t.)
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform