It depends on where you're storing your sheet number and revision, but there are standard values for revision and filename for example that you can't easily get via ilogic, vba, or vb.
in a drawing it can be as easy as:
Dim oDoc As DrawingDocument
odoc = thisapplication.activedocument
dim myFileName as string
myFileName = oDoc.FullFileName
If you're using the built-in revision setting, i don't know if oDoc.RevisionID is the same thing or not, but you'd be able to get it through something like:
dim oPartNumProperty as Property
Set oPartNumProperty = oCompDef.PropertySets.Item("Design Tracking Properties").Item("Revision Number")