|
|
|
Re: Footer & headers in excel using ole2 [message #250274 is a reply to message #249135] |
Mon, 09 July 2007 07:05 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
srinivas.k2005
Messages: 404 Registered: August 2006
|
Senior Member |
|
|
Hi,
I have a problem with excel sheets when i populate data
in sheets using ole2.
Default we will have three sheets.
Sheet1 Sheet2 Sheet3
But when i add a new sheet ,after generating data in 3
sheets.The sheet is getting added beside sheet3.
Like:
Sheet1 Sheet2 Sheet4 Sheet3
Please guide me how can i handle , so that the sheet will be
created after Sheet3.
Renaming will not help!!
Thanks,
Srinivas
[Updated on: Mon, 09 July 2007 07:06] Report message to a moderator
|
|
|
|
|
|
|
|
|
Re: Footer & headers in excel using ole2 [message #259541 is a reply to message #256711] |
Wed, 15 August 2007 22:38 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
![](/forum/images/custom_avatars/67467.jpg) |
djmartin
Messages: 10181 Registered: March 2005 Location: Surges Bay TAS Australia
|
Senior Member Account Moderator |
|
|
I don't believe that you can create a worksheet to the 'right' of an existing worksheet. Open Excel and see what happens. When you insert a row it goes ABOVE the current row. When you insert a column it goes to the LEFT of the current column. When you add a new worksheet it goes to the LEFT of the current worksheet. You will either have to work out the command to MOVE the worksheet to the right or have a 'spare' worksheet to the right of the workbook and do your insert to the left of it and then delete this unwanted worksheet.
David
|
|
|