Excel - Makros verbinden
Asked By MichaelFesk
17-Jul-08 01:31 PM
Hallo alle zusammen,
ich habe mehrere einzelne Makros, kann ich diese jetzt auch in ein Makro
packen und auf Tastendruck abrufen ?
Wie kann ich diese im VBA Editor vereinen ?
Gruß
Micha
VBA
(1)
AlleMakros
(1)
Fehlermeldung
(1)
Arbeitsmappe
(1)
Tastendruck
(1)
Fußnötiges
(1)
Optionen
(1)
Modulen
(1)
Dietmar Vollmeier replied...
*Michael Feske* schrieb am 17.07.2008 um 19:31 Uhr...
^
Ja.
[Alt]+[F8]
Makro "AlleMakros" (siehe unten) auswählen -> Optionen
^
Sub Makro1()
'Code
End Sub
Sub Makro2()
'Code
End Sub
Sub AlleMakros()
Makro1
Makro2
End Sub
FYI: du Plenkst [1]
und tschüss,
Didi
Fußnötiges:
===========
[1] http://de.wikipedia.org/wiki/Plenken
--
Ich habe keine Lösung, bewundere aber dein Problem!
MichaelFesk replied...
Hallo Dietmar,
wegen:
stehe ich jetzt in der Ecke und schäme mich. Sorry habe ich nicht lange
genug drüber nachgedacht.
Gruß
Micha
Dietmar Vollmeier replied...
*Michael Feske* schrieb am 17.07.2008 um 20:04 Uhr...
Hoffe, du hast gelernt.
P.S. Das OP hat mein Filter gekillt, aber deine Antwort mit dem
FULLQUOTE /mußte/ ich /leider/ lesen.
Und jetzt wieder raus aus der Ecke, damit wir mit den Makros weiter
kommen ;-)
und tschüss,
Didi
--
Wo wir sind, klappt nichts mehr, aber wir können nicht überall sein.
MichaelFesk replied...
Hallo Dietmar,
das verstehe ich nicht. Das hat (gaube ich) vorhin funktioniert:
Sub alle()
unsichtbar_graph
druck_grafik
verschiebe_grafik
End Sub
Jetzt erhalte ich eine Fehlermeldung:
Fehler beim kompilieren: Variable oder Prozedur anstelle eines Moduls
erwartet.
Jetzt verstehe ich noch weniger als Bahnhof. Hat das etwas damit zu tun, das
ich die Makros unter den Modulen und nicht in der Arbeitsmappe angelegt habe
? Wo ist der funktionelle Unterschied ?
Gruß
Micha
Funzioni VBA Excel Ciao a tutti, in una mia ricerca per un post precedente mi sono dovuto italiano con la loro traduzione nella forma inglese. nell' elenco mi sono trovato queste funzioni: VBA.AGGIUNGI.CONTROLLO VBA.ADD.WATCH VBA.CHIAMATE VBA.CALLS VBA.CONTROLLO.VALORE.CORRENTE VBA.INSTANT.WATCH VBA.CREA.AGGIUNTA VBA.MAKE.ADDIN VBA.DEFINIZIONE.ROUTINE VBA.PROCEDURE.DEFINITION VBA.ESAMINA VBA.STEP
OO programming in VBA - VBA equivalent to the "eval" function Excel Hi Everyone, This problem has been bugging me for moduleName is a String End Function Unfortunately, it looks like there is no way in VBA to execute a line such as: result = Eval( moduleName & ".Function1()") Or something similar. Any thought and Pro versions Thanks a lot, Tim, Application.Run works fine ! keywords: OO, programming, in, VBA, -, VBA, equivalent, to, the, "eval", function description: Hi Everyone, This problem has been bugging me for
VBA to set focus back to exel Excel I am launching an external application from excel to obtain control of excel after the external program launches. This is all done via VBA. VBA wants to wait for the installation to finish before giving me excel back. I need can close the workbook. Any ideas. thanks Brian Excel Programming Discussions Sheets (1) Workbook (1) VBA (1) VbNormalNoFocus (1) MyAppID (1) SetForegroundWindow (1) FindWindowA (1) XLFocus (1) Try this: Option Explicit return of focus as soon as the external app launches. What i have is some vba that checks for an update to the excel workbook. It then allows the user to to close the existing workbook without problem. I'll report back if it works. keywords: VBA, to, set, focus, back, to, exel description: I am launching an external application from excel to obtain control of excel after the external program launches. This is all done via VBA. VBA w
VBA] Déprotéger un projet VBA à partir d'une macro Excel Bonjour, Je cherche à déprotéger des projets VBA via une macro VBA. Sur le net, j'ai trouvé un code mais qui semble s'appliquer aux anciennes ID: = 2578, recursive: = True).Execute End Sub Auriez vous une méthode pour déprotéger un projet VBA à partir du VBA avec Excel 2007 ? J'ai put adapter un code pour simuler les combinaisons de touche AddFromString S End With End Sub '- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- MichD - -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- - Bonjour, Je cherche ? d?prot?ger des projets VBA via une macro VBA. Sur le net, j'ai trouv? un code mais qui semble s'appliquer aux anciennes