David Emerson
newsgrps at dalyn.co.nz
Sun Jul 23 17:59:09 CDT 2006
Solved it with the help of Microsoft article http://support.microsoft.com/kb/q129748/ At 24/07/2006, you wrote: >I am wanting to loop through all reports to find out what the paper >size property is set to. Does anyone have any code that will do >this? This is what I have so far: > >Dim strList As String >Dim x As Integer >For x = CurrentDb.Containers!Reports.Documents.Count - 1 To 0 Step -1 > 'Add paper size details here > 'strList = CurrentDb.Containers!Reports.Documents(x).Name & >{paper size} ";" & strList >Next >MsgBox strList > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com