School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!
Welcome to Dream.In.Code
Become an Expert!

Join 340,132 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 3,936 people online right now. Registration is fast and FREE... Join Now!



Converting Excel to run under VB

Converting Excel to run under VB Rate Topic: -----

#1 f_thom237  Icon User is offline

  • New D.I.C Head
  • Pip
  • Group: New Members
  • Posts: 3
  • Joined: 04-June 09


Dream Kudos: 0

Posted 04 June 2009 - 07:29 AM

I'm new to using VB 6, and I was wandering if there is an easy way to convert an excel file that I have, so it will run in VB as a stand alone application, rather than use excel to run it.
Was This Post Helpful? 0
  • +
  • -


#2 JJ124  Icon User is offline

  • New D.I.C Head
  • Pip
  • Group: Members
  • Posts: 27
  • Joined: 27-April 09


Dream Kudos: 0

Posted 04 June 2009 - 08:50 AM

Iam not sure what you want to do,but if it is what i think, the best thing is to use MSACCESS to transfer your excel data and create a tabel with the transfer data and then create an aplication to read, write ,update, ect. your data.
Was This Post Helpful? 0
  • +
  • -

#3 sloanthrasher  Icon User is offline

  • New D.I.C Head
  • Pip
  • Group: Members
  • Posts: 18
  • Joined: 31-May 09


Dream Kudos: 0

Posted 04 June 2009 - 04:16 PM

View Postf_thom237, on 4 Jun, 2009 - 07:29 AM, said:

I'm new to using VB 6, and I was wondering if there is an easy way to convert an excel file that I have, so it will run in VB as a stand alone application, rather than use excel to run it.


The quick answer to your question is "No". AFAIK, there isn't a readily available method to convert and Excel spreadsheet into a VB (or C++, etc.) application.

Even if you wrote an application to manipulate the data in Excel, the end user would still have to have Excel installed.

Most Excel spreadsheets are pretty simple, even when extremely large, and writing the application from scratch is not that big an undertaking. By simple, I mean that the spreadsheet mostly contains simple equations like "sum()" or adding/multiplying/etc. a few cells. If yours is more complicated than that, it should be quite a chore to write an app that does the same thing.
Was This Post Helpful? 1
  • +
  • -

#4 Jupiter 2  Icon User is offline

  • New D.I.C Head
  • Pip
  • View blog
  • Group: Members
  • Posts: 12
  • Joined: 05-June 09


Dream Kudos: 0

Posted 05 June 2009 - 07:28 AM

As previously answered , no. If you have a Dvelopers Excel kit, you can create a Setup Executable that will include all the object dll, ocx etc that apply to your ExcelWorkbook but this will only help if the other user also has Excel. you can't win Possibly recreate what you need in aVB6 Standalone and use the Flexigrid.
Was This Post Helpful? 1
  • +
  • -

#5 f_thom237  Icon User is offline

  • New D.I.C Head
  • Pip
  • Group: New Members
  • Posts: 3
  • Joined: 04-June 09


Dream Kudos: 0

Posted 06 June 2009 - 04:42 AM

That what I wanted to know, I was thinking that, but I thought if anybody would know I could find it here. I quess I'll roll up my sleeves and start rewriting the whole thing in code.

Thanks for all the help. You'll be seeing a lot of me as I run into problems I'm sure, and I promise I will do my homework, first. :) Have a great day
Was This Post Helpful? 0
  • +
  • -



Fast Reply

  

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month