Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Borland builder 5 & ole

9 views
Skip to first unread message

Andres Vősa

unread,
Apr 21, 2004, 1:31:19 PM4/21/04
to
Tere.

Mure on selline, et ei oska kuidagi Borland builder 5'ndas
exceli tabeli aktiivset lehte vahetada. No koodijupp on umbes selline:

void __fastcall TForm1::Button1Click(TObject *Sender)
{
Variant V, Leht;
try{
V=Variant::CreateObject("Excel.Application");
}
catch(...){
Application->MessageBox("Probleem Exceliga!","Viga",MB_OK);
return;
}
V.OlePropertySet("Visible", true);
V.OlePropertyGet("WorkBooks").OleProcedure("Add", "Mingifile.xls");

V = Unassigned;
}

Kuidas peaks exceli tabelile ütlema, et aktiivseks läheks näit. Sheet3?
Internetiotsing erilisi tulemusi ei andnud. Aga äkki keegi teab mõnda head
lugemist selle kohta?

Lugupidamisega
Andres Võsa


A

unread,
Dec 14, 2023, 4:56:47 AM12/14/23
to
Tere....⠀⠀⠀⠀⠀Ma üritan müüa firmasisest sotsiaalvõrgustikku.....
interactionworld.atwebpages.com
Sisselogimisandmed:

Y: A
Y2: B

yyyyyyyyyyyyyyyyes⠀⠀[⠀[⠀@⠀]⠀]⠀⠀⠀outlook.com

Kes on huvitatud, võtke ühendust...........
0 new messages