Macro

Hi All,

Earlier I could get the macro code to run against the reports stored locally in a folder to get the list of objects in a data provider

But now instead of local the macro should go against the corporate douments and retrieve the same info as it did for local documents.

My question is where I should put the following code in the macro to get the desired result.

Application.ExchangeMode = boRepositoryMode
Call Application.Documents.Receive(RepFile, PathName)
Set Doc = Application.Documents.Open(PathName & RepFile)

Again I am newbie to VB so when tried to modify it is breaking:(,Please help me in acheiving it.

Thanks in advance
Vinni


sgummadi (BOB member since 2007-01-31)