473,386 Members | 2,050 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Transffering Data to Excel

hi
Can somebody help me with this issue
I'm exporting my data from Analysis Service to excel files using ADOMD.
I got hundreds of excel files that need to be inserted with cube data retrieved from ADOMD connection.
Each of the files would have a pre-defined location where i should start inserting data, for example "R3C4"(each file would be in different cell)
I need to open the existing file, adds data to it, save changes, and closes
I've tried so many ways to deal with problem, but still didn't work. Can anyone show me how to do this?
Thank

Nov 20 '05 #1
6 1590
Hi Yanto,

The only help I can give you in this is some links

Office
http://support.microsoft.com/default...b;EN-US;311452

http://msdn.microsoft.com/office/

Pia Download
http://www.microsoft.com/downloads/d...displaylang=en

Excel dataset fill and updat
http://support.microsoft.com/default...b;EN-US;316934

Anyway I hope this helps as well a little bit?

Cor
Nov 20 '05 #2
Thanks Cor for you immediate respond.

I've read the article before.
Most of the sample supposing you're creating a new instance of Excel, then manipulate the data using Insert, Delete, Update command. I can't figure it out to to use them to solve my problem. I need to specify from which cell i should start inserting the data, and then begin insert data from that point.
The sequence would probably as simple as this: open excel file, go to the cell where i should start inserting the data, start insert the data to columns and rows, save excel file, close excel file, open another file and repeat the same thing
This probably not the best way, but it is an option.

n.b.: i'm quite new with excel.

Yanto

----- Cor Ligthert wrote: -----

Hi Yanto,

The only help I can give you in this is some links

Office
http://support.microsoft.com/default...b;EN-US;311452

http://msdn.microsoft.com/office/

Pia Download
http://www.microsoft.com/downloads/d...displaylang=en

Excel dataset fill and updat
http://support.microsoft.com/default...b;EN-US;316934

Anyway I hope this helps as well a little bit?

Cor

Nov 20 '05 #3
Hi Yanto,

When I was you I would ask this too in a special Excel newgroup, not that I
know, however when you can do it with Excel development the step to VB.net
is much easier I think.

I did a long time nothing with this.

Cor
Nov 20 '05 #4
On Sun, 25 Apr 2004 23:06:03 -0700, "Yanto" <an*******@discussions.microsoft.com> wrote:

¤ hi,
¤ Can somebody help me with this issue.
¤ I'm exporting my data from Analysis Service to excel files using ADOMD.
¤ I got hundreds of excel files that need to be inserted with cube data retrieved from ADOMD connection.
¤ Each of the files would have a pre-defined location where i should start inserting data, for example "R3C4"(each file would be in different cell).
¤ I need to open the existing file, adds data to it, save changes, and closes.
¤ I've tried so many ways to deal with problem, but still didn't work. Can anyone show me how to do this?
¤ Thanks

You may want to look at some of the MS KB examples that use automation:

HOWTO: Automate Excel from Visual Basic .NET to Fill or to Obtain Data in a Range by Using Arrays
http://support.microsoft.com/default...&Product=vbNET

HOWTO: Automate Microsoft Excel from Visual Basic .NET
http://support.microsoft.com/default...&Product=vbNET
Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)
Nov 20 '05 #5
Thanks Paul
The sample shows some way to deal with my problem. Again, thanks

Yanto

----- Paul Clement wrote: ----

On Sun, 25 Apr 2004 23:06:03 -0700, "Yanto" <an*******@discussions.microsoft.com> wrote

¤ hi
¤ Can somebody help me with this issue
¤ I'm exporting my data from Analysis Service to excel files using ADOMD.
¤ I got hundreds of excel files that need to be inserted with cube data retrieved from ADOMD connection.
¤ Each of the files would have a pre-defined location where i should start inserting data, for example "R3C4"(each file would be in different cell)
¤ I need to open the existing file, adds data to it, save changes, and closes
¤ I've tried so many ways to deal with problem, but still didn't work. Can anyone show me how to do this?
¤ Thank

You may want to look at some of the MS KB examples that use automation

HOWTO: Automate Excel from Visual Basic .NET to Fill or to Obtain Data in a Range by Using Array
http://support.microsoft.com/default...4&Product=vbNE

HOWTO: Automate Microsoft Excel from Visual Basic .NE
http://support.microsoft.com/default...2&Product=vbNE
Paul ~~~ pc******@ameritech.ne
Microsoft MVP (Visual Basic

Nov 20 '05 #6
Hi Cor

Thanks for your advice

Yant

----- Cor Ligthert wrote: ----

Hi Yanto

When I was you I would ask this too in a special Excel newgroup, not that
know, however when you can do it with Excel development the step to VB.ne
is much easier I think

I did a long time nothing with this

Co

Nov 20 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Chris | last post by:
Could someone please provide me an effective means of exporting data from a data set (or data grid) to Excel?
2
by: Niyazi | last post by:
Hi, I have to retrieve a data from AS400 DB2 and after working with data I have to export into one of existing Excel file. I can connect into specific library in AS400 DB2 using AS400...
1
by: Steven Stewart | last post by:
I have a user who has been using Excel for a while to keep statistics and print reports. She finds using it cumbersome because of long formulas and a lot of copying and pasting. I have designed...
0
by: bhavsar vaishali | last post by:
i have one form. form which i will send checkbox ary in other page to delete that selected records but i want to firt confirm to user to delete that records and for that i want one dialog box(...
0
by: Grip | last post by:
Hi, I have gone throught the group and Microsoft's online help and have seen many suggestions but I am still seeking clarity: 1. I have an excel spreadsheet. Column A contains text that may...
0
by: jwmaiden | last post by:
Have an application that opens up a webbrowser control to display data in an Excel spreadsheet (using VB.NET in VS 2005). No problem with opening the spreadsheet or displaying the data, but I'm...
3
by: sejal17 | last post by:
hello Can any one tell me how to read multiple worksheets from a single excel file.I have stored that excel in xml file.so i want to read that xml that has multiple worksheet.And i want to store...
3
by: sejal17 | last post by:
hello Can any one tell me how to read multiple worksheets from a single excel file.I have stored that excel in xml file.so i want to read that xml that has multiple worksheet.And i want to store...
7
by: TG | last post by:
hi! I am trying to create a sql server table from an excel sheet. Here is the code I have: 'This procedure the xlsx file and dumps it to a table in SQL Server
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.