Re: DDE
"Brian Grellinger" <[email protected]> Fri, 26 Jan 2007 13:13:01 -0500
| Newsgroups | gmane.comp.lang.4gl.fourjs.user |
|---|---|
| Message-ID | <s5b9fe6c.003@da-nw2> |
This is a MIME message. If you are reading this text, you may want to
consider changing to a mail reader or gateway that understands how to
properly handle MIME multipart messages.
--=_7F5B8DAC.A6C7A41C
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
You may have an old Excel because it should accept about 65000 rows.
Anyways, we get around that by putting the remaining items into
sheet2.
let prog = "Excel"
let excel_row = excel_row + 1
if excel_row > 65000
then
let filename = "sheet2"
let retval = DDEConnect(prog, filename clipped)
let excel_row = 2
let scratch = "Item Code\\t",
"Description\\t",
"Division\\t",
"Usage\\t",
"Ship Qty\\t",
"ABCD"
LET cell_positions = "R1C1:R1C6"
call DDEPoke(prog, filename clipped,
cell_positions, scratch)
returning retval
end if
Brian Grellinger
I.S. Manager
Doosan Infracore America Corp
Information Systems
>>> [email protected] 01/26/07 03:47AM >>>
Hello, We are filling an Excel-sheet with DDE (poke).There seems to be
a limit of 32767 lines.How can I enlarge this ? Thank you very much,
Gerhard Neu
--=_7F5B8DAC.A6C7A41C
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Content-Description: HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.5730.11" name=GENERATOR></HEAD>
<BODY style="MARGIN-TOP: 2px; FONT: 12pt Courier New; MARGIN-LEFT: 2px">
<DIV>You may have an old Excel because it should accept about 65000
rows.</DIV>
<DIV>Anyways, we get around that by putting the remaining items into
sheet2.</DIV>
<DIV> </DIV>
<DIV> let prog = "Excel"</DIV>
<DIV> let excel_row = excel_row +
1</DIV>
<DIV> </DIV>
<DIV> if excel_row >
65000<BR>
then<BR>
let filename =
"sheet2"<BR>
let retval = DDEConnect(prog, filename
clipped)<BR>
let excel_row =
2<BR>
let scratch = "Item
Code\\t",<BR>
"Description\\t",<BR>
"Division\\t",<BR>
"Usage\\t",<BR>
"Ship
Qty\\t",<BR>
"ABCD"</DIV>
<DIV> </DIV>
<DIV>
LET cell_positions = "R1C1:R1C6"</DIV>
<DIV> </DIV>
<DIV>
call DDEPoke(prog, filename clipped, cell_positions,
scratch)<BR>
returning retval<BR> end if</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Brian Grellinger<BR>I.S. Manager<BR>Doosan Infracore America
Corp<BR>Information Systems<BR><BR>>>> [email protected]
01/26/07 03:47AM >>><BR></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hello,<?xml:namespace prefix = o ns
= "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">We are filling an Excel-sheet with
DDE (poke).<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">There seems to be a limit of 32767
lines.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">How can I enlarge this
?<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thank you very
much,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Gerhard
Neu<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN lang=EN-GB
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P></DIV></BODY></HTML>
--=_7F5B8DAC.A6C7A41C--