htlle-da-vorlage/style/langdef-vba.tex

20 lines
1.0 KiB
TeX
Raw Permalink Normal View History

2022-03-15 17:19:57 +01:00
%VBA
\lstdefinelanguage{VBA}{
morekeywords={And, As, Byte, Call, Case, Compare, CDbl, Datebase, Date,
Dim, Else, ElseIf, End, Error, Exit, Explicit, False, Function,
GoTo, If, IIF, Integer, Not, Nothing, Null, Object, On, Option, Or,
Private, Resume, String, Single, Select, Set, Static, Sub, Then, True, To,},
sensitive=false,
morecomment=[l]Rem,
morecomment=[l]',
morestring=[b]",
emph={acFormBar, acEditMenu, acCurrent, acEntire, acMenuVer70, acSaveYes,
acViewNormal, acForm, acDataErrAdded, acNewRec, acDataErrContinue, Cancel,
CancelEvent, Close, CurrentDb, DefaultValue, DateValue, DAO, Description,
DoCmd, DoMenuItem, Err, Error, Error$, $, Execute, FindRecord, Forms,
FindFirst, IsNull, Me, MsgBox, GoToControl, GoToRecord, NewData, Nz,
Maximize, Number, OpenForm, Parent, Recordset, Requery, Response, SetFocus,
stDocName, stLinkCriteria, Value, vbExclamation, vbOK, vbOKCancel,
vbInformation, vbYes, vbNo, vbYesNo, vbCancel, vbQuestion, vbYesNoCancel,
Visible,},
emphstyle=\itshape}