Click here to Skip to main content
15,912,400 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: VBA speed issues Pin
Paul Conrad27-Dec-06 10:09
professionalPaul Conrad27-Dec-06 10:09 
GeneralRe: VBA speed issues Pin
73Zeppelin27-Dec-06 10:12
73Zeppelin27-Dec-06 10:12 
GeneralRe: VBA speed issues Pin
Paul Conrad27-Dec-06 15:09
professionalPaul Conrad27-Dec-06 15:09 
GeneralRe: VBA speed issues Pin
73Zeppelin27-Dec-06 21:13
73Zeppelin27-Dec-06 21:13 
AnswerRe: VBA speed issues Pin
arcticbrew27-Dec-06 8:43
arcticbrew27-Dec-06 8:43 
GeneralRe: VBA speed issues Pin
73Zeppelin27-Dec-06 10:07
73Zeppelin27-Dec-06 10:07 
AnswerRe: VBA speed issues Pin
Tim Carmichael27-Dec-06 9:19
Tim Carmichael27-Dec-06 9:19 
GeneralRe: VBA speed issues Pin
73Zeppelin27-Dec-06 10:11
73Zeppelin27-Dec-06 10:11 
Hi Tim, thanks for the response.

Tim Carmichael wrote:
1. Within Excel, ensure that the calculation mode is set to 'Manual' and not automatic.


Yes, have already done this.

Tim Carmichael wrote:
2. VBA is interpreted; anything compiled should be faster.


That's what I was thinking. But two issues. The first is: How much faster? The second is that I read that VBA is basically interfaced with Excel from a DLL and thus should have really low overhead. I am therefore suspicious as to whether or not porting it to VB is really going to improve the situation noticeably...


Tim Carmichael wrote:
3. If the application is already written in VBA in Excel, porting it to VB should be a breeze... essentially cut and paste.


Yes, but it uses the charting functionality of Excel extensively. I was trying to do a preliminary investigation as to whether or not I could write this in C#, but there seems to be an issue with the Primary Interop Assemblies between C# and Excel 2000. From what I have read, it would seem that I need Excel 2003 or even Office XP to get around this. I don't know if there is a solution for Excel 2000. Gah, what a mess!



"Oh, I must've did somebody some good. I think I did. So I gave her the gun and I shot her!" - Led Zeppelin - In My Time of Dying

GeneralRe: VBA speed issues Pin
Tim Carmichael27-Dec-06 10:15
Tim Carmichael27-Dec-06 10:15 
GeneralRe: VBA speed issues Pin
73Zeppelin27-Dec-06 10:31
73Zeppelin27-Dec-06 10:31 
GeneralRe: VBA speed issues Pin
Tim Carmichael28-Dec-06 4:44
Tim Carmichael28-Dec-06 4:44 
GeneralRe: VBA speed issues Pin
73Zeppelin28-Dec-06 9:25
73Zeppelin28-Dec-06 9:25 
GeneralRe: VBA speed issues Pin
Tim Carmichael28-Dec-06 9:38
Tim Carmichael28-Dec-06 9:38 
GeneralRe: VBA speed issues Pin
73Zeppelin28-Dec-06 10:09
73Zeppelin28-Dec-06 10:09 
GeneralRe: VBA speed issues Pin
Tim Carmichael28-Dec-06 10:10
Tim Carmichael28-Dec-06 10:10 
GeneralRe: VBA speed issues Pin
Paul Conrad28-Dec-06 10:27
professionalPaul Conrad28-Dec-06 10:27 
GeneralRe: VBA speed issues Pin
73Zeppelin28-Dec-06 11:29
73Zeppelin28-Dec-06 11:29 
GeneralRe: VBA speed issues Pin
73Zeppelin27-Dec-06 10:53
73Zeppelin27-Dec-06 10:53 
AnswerRe: VBA speed issues Pin
Eric Georgiades29-Dec-06 14:52
Eric Georgiades29-Dec-06 14:52 
GeneralRe: VBA speed issues Pin
73Zeppelin29-Dec-06 22:21
73Zeppelin29-Dec-06 22:21 
QuestionSend email from VB to SSL supported site Pin
S.Rakshit27-Dec-06 7:37
S.Rakshit27-Dec-06 7:37 
QuestionObject & Form Control Binding Pin
weirbear27-Dec-06 7:32
weirbear27-Dec-06 7:32 
AnswerRe: Object & Form Control Binding Pin
Keith Malwitz27-Dec-06 18:48
Keith Malwitz27-Dec-06 18:48 
Questionabout forms in vb.net Pin
bapu288927-Dec-06 7:18
bapu288927-Dec-06 7:18 
AnswerRe: about forms in vb.net Pin
Dave Kreskowiak27-Dec-06 7:45
mveDave Kreskowiak27-Dec-06 7:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.