Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 249
Default Moving from Excel to Visual Studio

In Excel, I use forms alot.

I now have a form based spreadsheet which i am considering moving into
visual studio to create a standalone application. This will take alot of
time, however I know I can export the forms into visual studio so that the
interface looks the same

However, my problem is getting my head around storing data/numbers in that
environment and then working with equations to deliver results and then acces
and store those numbers.

For example its easy in excel to reference particular cells on particular
sheets to access and deposit data/formulas/values and then excel does the
number crunching.

Can someone give me some pointers about how this is handled with vba outside
of excel - presumably one can use a database to store data and then access
particular row/column addresses, but what about formula calculations?

Can anyone give me some pointers as I consider this transition from Excel VBA

Many Thanks,

Roger
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 834
Default Moving from Excel to Visual Studio

Why would you use the existing forms when Visual Studio gives you a far
richer forms capability.

Using Visual Studio is similar to using any form of automation. You connect
to an instance of Excel, either existing or new, open or add a workbook,
then access ranges in a nominated sheet. Once you have navigated through the
object hierarchy, it is just like coding in VBA.

But of course, Visual Studio requires far more setting up than VBA, all of
the interop stuff etc.

HTH

Bob


"Roger on Excel" wrote in message
...
In Excel, I use forms alot.

I now have a form based spreadsheet which i am considering moving into
visual studio to create a standalone application. This will take alot of
time, however I know I can export the forms into visual studio so that the
interface looks the same

However, my problem is getting my head around storing data/numbers in that
environment and then working with equations to deliver results and then
acces
and store those numbers.

For example its easy in excel to reference particular cells on particular
sheets to access and deposit data/formulas/values and then excel does the
number crunching.

Can someone give me some pointers about how this is handled with vba
outside
of excel - presumably one can use a database to store data and then access
particular row/column addresses, but what about formula calculations?

Can anyone give me some pointers as I consider this transition from Excel
VBA

Many Thanks,

Roger



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 249
Default Moving from Excel to Visual Studio

Hi Bob,

So do you think its possible to use an excel file as a data source, even if
excel is not installed on a users pc?

Roger

"Bob Phillips" wrote:

Why would you use the existing forms when Visual Studio gives you a far
richer forms capability.

Using Visual Studio is similar to using any form of automation. You connect
to an instance of Excel, either existing or new, open or add a workbook,
then access ranges in a nominated sheet. Once you have navigated through the
object hierarchy, it is just like coding in VBA.

But of course, Visual Studio requires far more setting up than VBA, all of
the interop stuff etc.

HTH

Bob


"Roger on Excel" wrote in message
...
In Excel, I use forms alot.

I now have a form based spreadsheet which i am considering moving into
visual studio to create a standalone application. This will take alot of
time, however I know I can export the forms into visual studio so that the
interface looks the same

However, my problem is getting my head around storing data/numbers in that
environment and then working with equations to deliver results and then
acces
and store those numbers.

For example its easy in excel to reference particular cells on particular
sheets to access and deposit data/formulas/values and then excel does the
number crunching.

Can someone give me some pointers about how this is handled with vba
outside
of excel - presumably one can use a database to store data and then access
particular row/column addresses, but what about formula calculations?

Can anyone give me some pointers as I consider this transition from Excel
VBA

Many Thanks,

Roger



.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,452
Default Moving from Excel to Visual Studio

What is the reason you want to make a stand-alone application?
What are you moving your code to? VB6?
Are you sure you can move the forms to Visual Studio? I thought there
were problems with that.
Doing the formula's may be a problem and it might be that you will still
need
Excel to do that.

RBS


"Roger on Excel" wrote in message
...
In Excel, I use forms alot.

I now have a form based spreadsheet which i am considering moving into
visual studio to create a standalone application. This will take alot of
time, however I know I can export the forms into visual studio so that the
interface looks the same

However, my problem is getting my head around storing data/numbers in that
environment and then working with equations to deliver results and then
acces
and store those numbers.

For example its easy in excel to reference particular cells on particular
sheets to access and deposit data/formulas/values and then excel does the
number crunching.

Can someone give me some pointers about how this is handled with vba
outside
of excel - presumably one can use a database to store data and then access
particular row/column addresses, but what about formula calculations?

Can anyone give me some pointers as I consider this transition from Excel
VBA

Many Thanks,

Roger


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual Studio and Excel GM Excel Programming 2 November 17th 08 05:05 PM
C# Visual Studio connect Excel to AS/400 [email protected] Excel Programming 1 September 20th 06 03:40 AM
changing the visual basic in office 2003 to visual studio net bigdaddy3 Excel Discussion (Misc queries) 1 September 13th 05 10:57 AM
excel object in visual studio Easwaran Excel Programming 4 September 9th 05 01:13 PM
Visual Studio .Net C# and Excel Adam Excel Programming 2 March 24th 05 03:33 PM


All times are GMT +1. The time now is 03:22 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"