The below sample with little customization would help you
Dim mydoc As Document
Dim myrpt As Report
Dim mydp As DataProvider
Dim mycond As Condition
dim concount as Integer
Set mydoc = Application.Documents.Open("Name of the doc")
Set mydp =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.