PC Review


Reply
Thread Tools Rate Thread

convert _VBA_ to VB.net?

 
 
susiedba@hotmail.com
Guest
Posts: n/a
 
      10th Feb 2007
does anyone know any helpful ways to import VBA from Excel into VB
2005?

I just swear; 2/3rds of the Vb6 code in the world never touched Visual
Basic 6.0; and I want to re-use some of my existing code without a
bunch of effort.

I was thinking that the convertor could help me to do this; but It
won't import the VBA from a spreadsheet

thanks

Susie

 
Reply With Quote
 
 
 
 
dbahooker@hotmail.com
Guest
Posts: n/a
 
      10th Feb 2007
yeah.. I've sure got a _LOT_ of VB6 code living in spreadsheets and
VBS files; it sure would be nice if the VB convertor would work with
those files.

Of course, it's impossible to jump on a full speed train

I think that we should all vote for Ralph Nader for president of
Microsoft; I think that he is the only person that can save this
company

-Aaron

 
Reply With Quote
 
Tom Shelton
Guest
Posts: n/a
 
      10th Feb 2007
On Feb 9, 7:14 pm, "susie...@hotmail.com" <susie...@hotmail.com>
wrote:
> does anyone know any helpful ways to import VBA from Excel into VB
> 2005?
>


Well... To be honest I've never been much a vba person, but since no
one has given you any helpful answers yet - I'll take a stab....

In 2005 you have the ability to convert code snipits at a time... If
you look in the menu, you should see an options that says Upgrade
Visual Basic 6 Code. You can then copy and paste or type code into it
to see what the translation would be. I suppose, you could copy your
vba functions into that box and see what happens I suspect you
will have some issues due to differences between VBA and VB6, but it
might get you partway there anyway.

--
Tom Shelton

 
Reply With Quote
 
Bruce W. Darby
Guest
Posts: n/a
 
      10th Feb 2007
Tom,

The OP is Aaron Kempf in drag. Look for other posts today by
(E-Mail Removed)

Bruce

"Tom Shelton" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On Feb 9, 7:14 pm, "susie...@hotmail.com" <susie...@hotmail.com>
> wrote:
>> does anyone know any helpful ways to import VBA from Excel into VB
>> 2005?
>>

>
> Well... To be honest I've never been much a vba person, but since no
> one has given you any helpful answers yet - I'll take a stab....
>
> In 2005 you have the ability to convert code snipits at a time... If
> you look in the menu, you should see an options that says Upgrade
> Visual Basic 6 Code. You can then copy and paste or type code into it
> to see what the translation would be. I suppose, you could copy your
> vba functions into that box and see what happens I suspect you
> will have some issues due to differences between VBA and VB6, but it
> might get you partway there anyway.
>
> --
> Tom Shelton
>



 
Reply With Quote
 
Tom Shelton
Guest
Posts: n/a
 
      10th Feb 2007
On 2007-02-10, Bruce W. Darby <(E-Mail Removed)> wrote:
> Tom,
>
> The OP is Aaron Kempf in drag. Look for other posts today by
> (E-Mail Removed)
>
> Bruce


I know. I realized shortly after I posted. He is a real live troll.

--
Tom Shelton
 
Reply With Quote
 
RobinS
Guest
Posts: n/a
 
      10th Feb 2007
"Tom Shelton" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On Feb 9, 7:14 pm, "susie...@hotmail.com" <susie...@hotmail.com>
> wrote:
>> does anyone know any helpful ways to import VBA from Excel into VB
>> 2005?
>>

>
> Well... To be honest I've never been much a vba person, but since no
> one has given you any helpful answers yet - I'll take a stab....
>
> In 2005 you have the ability to convert code snipits at a time... If
> you look in the menu, you should see an options that says Upgrade
> Visual Basic 6 Code. You can then copy and paste or type code into it
> to see what the translation would be. I suppose, you could copy your
> vba functions into that box and see what happens I suspect you
> will have some issues due to differences between VBA and VB6, but it
> might get you partway there anyway.
>
> --
> Tom Shelton
>


Tom,

You're being a really nice guy here, so I feel I have to tell you that this
is one of Aaron's aliases. So is dbahooker. He's having a conversation with
himself in this thread.

Robin S.


 
Reply With Quote
 
dbahooker@hotmail.com
Guest
Posts: n/a
 
      12th Feb 2007
yeah I don't want to copy and paste

i've got hundreds of spreadsheets; hundreds of Access applications

I just want to know why VB 2005, 2002 or 2003 doesn't have some
functionality to import VBA code

-Aaron

 
Reply With Quote
 
dbahooker@hotmail.com
Guest
Posts: n/a
 
      12th Feb 2007
I'm not a troll

I've got legitimate grievences about VB and you kids claim that
everything is peachy

VB 2005 doesn't do full 3/4 of the activities I need to do with VB; so
please tell me how to proceed-- continue using VB6 and vb 2005?

do I really need to go from one langauge to FOUR?

OLD DAYS:
VB6 / VBA / VBS

NEW PARADIGM
C# - a _LOT_ of samples are showing up only in this newly invented
langauge and that just flat out ****es me off
VB6 - because 2002,2003,2005 don't have 3/4 of the functionality of
VBA / VB6 / VBS
VB 2005 - because i'm a vb guy, duh
Javascript - clientside DHTML, because Microsoft killed off clientside
vbScript in ASP.net - I read this in MS press book, VBS clientside is
not supported any longer

now do you get some clue why I'm ****ed off?

 
Reply With Quote
 
dbahooker@hotmail.com
Guest
Posts: n/a
 
      12th Feb 2007
the answer is _NOT_ 'just learn 4 languages' in addtion to the half
dozen db langauges I need

the answer is 'find a new language'

 
Reply With Quote
 
dbahooker@hotmail.com
Guest
Posts: n/a
 
      12th Feb 2007
and please stay on-topic, thanks

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert Columns of Sensitive Information, and then convert back... =?Utf-8?B?V2lsbGlhbSBFbGVyZGluZw==?= Microsoft Excel Programming 1 12th Oct 2006 09:37 PM
convert numbers to word like 100 convert to one hundred only =?Utf-8?B?QWJkdWwgTmFzYXI=?= Microsoft Excel Crashes 1 20th Jul 2006 12:11 PM
Convert file to binary, send it over the network, and convert it b =?Utf-8?B?Q2hld2ll?= Microsoft Dot NET 0 9th Sep 2005 06:04 PM
Convert file to binary, send it over the network, and convert it b =?Utf-8?B?Q2hld2ll?= Microsoft Dot NET Framework 1 9th Sep 2005 06:01 PM
convert decimal number to time : convert 1,59 (minutes, dec) to m =?Utf-8?B?YWdlbmRhOTUzMw==?= Microsoft Excel Misc 8 20th Jan 2005 10:24 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:34 AM.