Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Skipping Lines in Excel using OLE2

Status
Not open for further replies.

krindler

Programmer
Jul 16, 2002
39
US
Hello...I was wondering if anyone new a way to skip a line between each entry, when importing data from Forms to Excel, using OLE2. I have a counter set up in my For Loop, but didn't know if there was a way that I could skip a line between each line....I have shown an example below:

What I Get:

Location Name
A Plant A
B Plant B
C Plant C

What I Want:

Location Name
A Plant A

B Plant B

C Plant C

Can anyone help me out with this?

Thanks in Advance!
 
Can't you just increment the counter by 2 instead of 1, or am I missing the point?
 
Hi krindler and sfvb,

I had posted a question wondering how you import data from Forms to Excel. I see you have already done that and are now worried about how to space the imported data... How do you use the OLE2? Could you please post some sample code on this import
 
Hi krindler and sfvb,

I had posted a question wondering how you import data from Forms to Excel. I see you have already done that and are now worried about how to space the imported data... How do you use the OLE2? Could you please post some sample code on this import?

Rgds..
Thebull1(programmer)
 
Here are some examples that should get you started:
thread259-285059
thread259-281806
thread259-307384
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top