Hi,
I have a simple 2-page VBA macro I wrote in Excel 2003 (Windows). Ill soon be moving to the Mac environment and would like to retain this functionality. The simplest option is to use Excel 2004 and adapt the macro as needed. But since I do run this macro on a lot of data and therefore spend a while each week waiting for it to be done, I thought it might be a good idea to explore the additional programming options available on the Mac and possibly write a faster version with a more suitable language.
First, let me state that Im no programmer. But still, I learn the codes I need fairly quickly and would thus enjoy investing some time learning if the result is worth it.
I used VBA because it was readily available (and free). But the data to be analyzed doesnt really have to reside in Excel; it could be stored in a simple text file the new program would access, and the programs output could be written to such a file too. The program doesnt use any Excel functions, as it simply checks for the presence of certain attributes in each piece of data and writes a note about it. So per se, the program is quite simple. It just takes quite some time to run it on a large amount of data. Would using AppleScript or Xcode (or something else) be likely to spawn a faster program than VBA? How accessible (difficult to learn) would this be compared to VBA?
Another issue to increase speed is multi-threading (if the program is run on a multi-core system of course). I guess no program Id write would be multi-core capable right out of the box. My (very basic) understanding of this issue is that multi-threading must be implemented by the programmer, and that its a challenge even for professionals. Am I right? Would that be something worth tackling with, or would that be too big a challenge for me?
I would appreciate any thoughts on this.
Thanks in advance!
I have a simple 2-page VBA macro I wrote in Excel 2003 (Windows). Ill soon be moving to the Mac environment and would like to retain this functionality. The simplest option is to use Excel 2004 and adapt the macro as needed. But since I do run this macro on a lot of data and therefore spend a while each week waiting for it to be done, I thought it might be a good idea to explore the additional programming options available on the Mac and possibly write a faster version with a more suitable language.
First, let me state that Im no programmer. But still, I learn the codes I need fairly quickly and would thus enjoy investing some time learning if the result is worth it.
I used VBA because it was readily available (and free). But the data to be analyzed doesnt really have to reside in Excel; it could be stored in a simple text file the new program would access, and the programs output could be written to such a file too. The program doesnt use any Excel functions, as it simply checks for the presence of certain attributes in each piece of data and writes a note about it. So per se, the program is quite simple. It just takes quite some time to run it on a large amount of data. Would using AppleScript or Xcode (or something else) be likely to spawn a faster program than VBA? How accessible (difficult to learn) would this be compared to VBA?
Another issue to increase speed is multi-threading (if the program is run on a multi-core system of course). I guess no program Id write would be multi-core capable right out of the box. My (very basic) understanding of this issue is that multi-threading must be implemented by the programmer, and that its a challenge even for professionals. Am I right? Would that be something worth tackling with, or would that be too big a challenge for me?
I would appreciate any thoughts on this.
Thanks in advance!