[AccessD] MS-Word import into Access

pedro at plex.nl pedro at plex.nl
Thu Dec 2 15:34:04 CST 2010


Hello Shamil,

i would like to use your proposed vba code as a macro in the word document, not from within access.

Pedro



In antwoord op:

> From: "Shamil Salakhetdinov" <shamil at smsconsulting.spb.ru>
> To: "'Access Developers discussion and problem solving'"
> Date: Thu, 2 Dec 2010 16:55:43 +0300
> Subject: Re: [AccessD] MS-Word import into Access
> 
> 
> Pedro,
> 
> Do you use proposed VBA code from within MS Access VBE?
> 
> Thank you.
> 
> --
> Shamil
>  
> -----Original Message-----
> From: accessd-bounces at databaseadvisors.com
> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pedro at plex.nl
> Sent: 2 ??????? 2010 ?. 14:39
> To: AccessD at databaseadvisors.com
> Subject: Re: [AccessD] MS-Word import into Access
> 
> Hello Shamil,
> 
> Thanks for the code.
> when i make a new macro from your code.
> The code is not accepted as a macro.
> 
> When using the sub ReplaceTabs name, or another sub name, closing the visual
> basic editor, and go to macro's, the macro is not present.
> 
> I has something to do with the reference: (ByRef rdoc As Word.Document) When
> using it after the sub-name the macro isn't recognized a macro, and i can't
> start the macro (also not from within the visual basic editor).
> When i don't use it after the sub-name, i get an error: object not present.
> and Set wapp = rdoc.Application is highlighted.
> Any suggestions?
> 
> Pedro 
> 
> 
> -- 
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
> 
> 



More information about the AccessD mailing list