Search found 133 matches: vba

Return to advanced search

Re: Search in Excel

nageswaragunupudi wrote:There is
oRange:Find( target, ......... )
method available
Please check for this method in VBA online help.
(Open excel and click help )


Thanks Roa,

That's where I was looking for.
by Marc Vanzegbroeck
Fri Mar 29, 2013 6:31 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Search in Excel
Replies: 4
Views: 642

Re: Search in Excel

There is
oRange:Find( target, ......... )
method available
Please check for this method in VBA online help.
(Open excel and click help )
by nageswaragunupudi
Fri Mar 29, 2013 6:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Search in Excel
Replies: 4
Views: 642

Re: How to call VBA methods in FiveWin

EMG, I looked in my documentation for xHarbour, and FiveWin and cannot find OrgDefaultArg(). Maybe you have mistyped the function. The correct name is OleDefaultArg() It's inside rtl.lib. Use it for empty parameters: MyOleObj:MyOleMethod( Param1, OleDefaultArg(), Param3, etc. &#...
by Enrico Maria Giordano
Mon Oct 01, 2012 8:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to call VBA methods in FiveWin
Replies: 3
Views: 680

Re: How to call VBA methods in FiveWin

EMG,

I looked in my documentation for xHarbour, and FiveWin and cannot find OrgDefaultArg().

I include this in my project and my link fails. What Lib is this in?

Also how does this work, it is not obvious how to utilize this function.

Thanks,

Byron...
by byron.hopp
Mon Oct 01, 2012 8:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to call VBA methods in FiveWin
Replies: 3
Views: 680

Re: How to call VBA methods in FiveWin

No, you have to use positional method. You can use OLEDEFAULTARG() for the empty parameters.

EMG
by Enrico Maria Giordano
Mon Oct 01, 2012 7:46 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to call VBA methods in FiveWin
Replies: 3
Views: 680

How to call VBA methods in FiveWin

I run across this when using Microsoft Office programs where I am utilizing OLE to control them. How do I call this: oExcel:ActiveWorksheets:QueryTables:Add(Connection:="TEXT;C:\MyFile.txt", Destination:=Range("$A$1")) The way the parameters are passed is different, is there a wa...
by byron.hopp
Mon Oct 01, 2012 7:07 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: How to call VBA methods in FiveWin
Replies: 3
Views: 680

Re: Change author in excel

Hi, I found on the MicroSoft-site an example how to change the 'Subject'-field it in VBA Dim properties As Microsoft.Office.Core.DocumentPropertiesproperties = DirectCast(Globals.ThisDocument.BuiltInDocumentProperties, _    Microsoft.Office.Core.DocumentProperties)properties.Item("Subject").Value ...
by Marc Vanzegbroeck
Thu Jun 21, 2012 6:55 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change author in excel
Replies: 8
Views: 1140

Acceso al ERP Infor (BaaN / LN) mediante OLE Automation

... else user = ""            endif            return( user )       } Visual Basic example MS-Excel contains Visual Basic for Applications (VBA) that allows for scripting to control the Excel application, but also to control other applications through OLE Automation. The following is the ...
by Baxajaun
Mon Mar 26, 2012 8:45 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Acceso al ERP Infor (BaaN / LN) mediante OLE Automation
Replies: 0
Views: 1268

vba unable to replace dbf via apollo engine

Dear Sir, I use VBA to access dbf data via apollo engine. I am unable to replace dbf to the record appended successed. Anyone, please kindly teach/help me to correct the code as hereunder and kindly tell where I can find the sample ...
by ROBERTCHENTPE
Wed Feb 09, 2011 12:45 pm
 
Forum: FiveWin for CA-Clipper
Topic: vba unable to replace dbf via apollo engine
Replies: 0
Views: 1044

Re: Office version

Maybe there are methods or DATA like

oword:UserDefinedPlaces
Please try with VBA to find out the syntax.

path is working for me.

MsgInfo( oword:path )

Best regards,
Otto
by Otto
Wed Dec 01, 2010 1:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Office version
Replies: 8
Views: 2074

Re: Web Service - Error

Antonio:

en VBA si hace la conexión sin marcar error.

en fwh en esta linea se sale sin marcar ningun error.

oServidor:= TOleAuto():New("MSSOAP.SoapClient30")


fw10.7, xhb, bcc582, Win732b


Saludos,
Mauricio
by Mauricio
Fri Oct 01, 2010 10:47 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Web Service - Error
Replies: 6
Views: 1912

Re: Web Service - Error

Mauricio,

Si tienes instalado Office, prueba a crear ese mismo objeto desde el VBA de Office (desde un macro de Word, por ejemplo).
by Antonio Linares
Fri Oct 01, 2010 5:47 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Web Service - Error
Replies: 6
Views: 1912

Re: VBA to FWH

Thank you very much for your help.

It works perfectly.

Great.
by driessen
Sun Jun 13, 2010 11:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: VBA to FWH
Replies: 2
Views: 799

Re: VBA to FWH

you need donwliad and install it: http://download.microsoft.com/download/9/6/5/9657c01e-107f-409c-baac-7d249561629c/msxml.msi so try it: #include "fivewin.ch"Function main()  ? BBANtoIBAN( "YourStringHere" )ReturnFunction BBANtoIBAN( BBAN )Local xd, cProgI...
by lailton.webmaster
Sun Jun 13, 2010 1:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: VBA to FWH
Replies: 2
Views: 799

VBA to FWH

Hello, Here is VBA-code to convert a traditional banking account number to IBAN : Public Function BBANtoIBAN(ByVal BBAN As String) As StringDim xd As ObjectSet xd = CreateObject("msxml2.domdocument.4.0")xd.Load ...
by driessen
Sat Jun 12, 2010 11:30 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: VBA to FWH
Replies: 2
Views: 799
PreviousNext

Return to advanced search