CRM Software - CABC | Maximizer | Maximizer Add-ons | Services | Support | Store | News

    Buy Maximizer Products and Services On-Line at CRMshop.co.uk
CABC    Maxtalk  Hop To Forum Categories  Maximizer CRM Software  Hop To Forums  Maximizer Support    AddOLEDocument Using VBA
Go
New
Find
Notify
Tools
Reply
  
AddOLEDocument Using VBA
 Login/Join
 
New Member
Posted
When I Add a OLEDocument to the CurrentRecord it works alright if strings are used:

However if I replace on of the Strings by a variable (String or variant) it does not work. Can anybody help?

Works:
maxrec.AddOLEDocument "File", "C:\myfile.doc", "MyDescription", 0, 0, 0, 0, 0

Does not work, but why?:
maxrec.AddOLEDocument "File", MyFile, "MyDescription", 0, 0, 0, 0, 0
 
Posts: 2 | Location: Zurich | Registered: February 09, 2001Reply With QuoteReport This Post
Master
Posted Hide Post
Peter,

I'm not sure this helps but if your trying to insert Word documents have you tried our Max Doc add-on it the easiest way to do this ... without code!

see www.cabc.co,uk for a free trial version

Regards,

Ian Wallace CABC
 
Posts: 145 | Location: CABC Ltd,PO Box 162,Newbury,RG14 5LP | Registered: January 03, 2000Reply With QuoteReport This Post
  Powered by Social Strata  
 

CABC    Maxtalk  Hop To Forum Categories  Maximizer CRM Software  Hop To Forums  Maximizer Support    AddOLEDocument Using VBA

© CABC Ltd 2002 - 2010. All Rights Reserved.
Maximizer is a trademark of Maximizer Software inc.