Some Elaboration on Excel functions (OLE)

Topic Specific Tutorials and Tips.

Moderator: Rathinagiri

Javier Tovar
Posts: 1275
Joined: Tue Sep 03, 2013 4:22 am
Location: Tecámac, México

Re: Some Elaboration on Excel functions (OLE)

Post by Javier Tovar »

Hola Clip2Mania,

No logro resolver el problema, voy a estudiar un poco de Excel y después te comento.

Saludos
User avatar
Agil Abdullah
Posts: 204
Joined: Mon Aug 25, 2014 11:57 am
Location: Jakarta, Indonesia
Contact:

Re: Some Elaboration on Excel functions (OLE)

Post by Agil Abdullah »

Hi Clip2Mania,

your OLE-function worked very well in my laptop (Win-7 with MS-Excel 2007). Thanks very very much.

Salam Hangat from Jakarta.
Agil Abdullah Albatati (just call me Agil)
Programmer Never Surrender
endor
Posts: 17
Joined: Wed Sep 10, 2014 6:31 am

Re: Some Elaboration on Excel functions (OLE)

Post by endor »

Thank you for sharing.

It is very helpful. :D
-----------
Rey
radohabjan
Posts: 99
Joined: Mon Nov 30, 2009 7:17 am
Location: Slovenia
Contact:

Re: Some Elaboration on Excel functions (OLE)

Post by radohabjan »

Hello friends,

You get error in case your Excell Sheet 2 don't have name "Sheet 2" ( this is normal when you don't have english Excel version):
Line 84: oExcel:WorkSheets("Sheet 2"):Cells(1,1):Value:="Text in sheet 2"

br Rado
emzampi
Posts: 106
Joined: Sun Aug 11, 2013 9:00 am

Re: Some Elaboration on Excel functions (OLE)

Post by emzampi »

for Javier Tovar
I had your same mistake and I modified these two lines now works

modifed for italian

riga 54=oSheet:Cells(row,1):Formula:="=somma(A"+alltrim(str(frow,5,0))+":A"+alltrim(str(row-1,5,0))+")"

riga 84= oExcel:WorkSheets("foglio2"):Cells(1,1):Value:="Text 2" // Write something directly in Sheet 2

saluti e buon anno
User avatar
mol
Posts: 3723
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: Some Elaboration on Excel functions (OLE)

Post by mol »

So, maybe we can put summary for all fuctions we can do/we know.. working with excel and libre/open office?
I've realized app which reads some things from sheets, I've learned some new things, I'll describe it tomorrow.
Javier Tovar
Posts: 1275
Joined: Tue Sep 03, 2013 4:22 am
Location: Tecámac, México

Re: Some Elaboration on Excel functions (OLE)

Post by Javier Tovar »

We will see tomorrow!
User avatar
mol
Posts: 3723
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: Some Elaboration on Excel functions (OLE)

Post by mol »

I still have no time for anything. Too much work...
Javier Tovar
Posts: 1275
Joined: Tue Sep 03, 2013 4:22 am
Location: Tecámac, México

Re: Some Elaboration on Excel functions (OLE)

Post by Javier Tovar »

Take your time, here I can wait!

regards

P.D .: Good that have a lot of work!
Tiger
Posts: 70
Joined: Mon Aug 31, 2015 11:28 am
Location: Taipei

Re: Some Elaboration on Excel functions (OLE)

Post by Tiger »

Hi,

Do anyone know how to change the font type and size from same line of a cell? For example, I would like to change the string " From Buyer" to "From" ==> Font:Bold := .T. and Font:Size := 10 and "Buyer" ==> Font:Italic := .T.and Font:Size := 14. Thanks.

Regards,
Post Reply