Link to home
Start Free TrialLog in
Avatar of Junebug
Junebug

asked on

Current document name in wordperfect

How do i get current document name in wordperfect 2000 using visual basic macro?
For example:

Line1: Set Application = CreateObject("WordPerfect.PerfectScript")
Line2: Application.fileName

This didn't work
I get the error: 'Object doesn't support this property or method on line 2
Avatar of Junebug
Junebug

ASKER

Never Mind :)
The solution is Application.EnvDOSName
Avatar of DanRollins
Junebug, an EE Moderator will handle this for you.
Moderator, my recommended disposition is:

    DELETE this question

DanRollins -- EE database cleanup volunteer
ASKER CERTIFIED SOLUTION
Avatar of SpideyMod
SpideyMod

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial