brucebosler
New Member
- Joined
- Jul 22, 2016
- Messages
- 7
I process some big sheets where I'm looking through long arrays of text searching for certain strings, then extracting parts of those strings. Example
search for "*this string contains*" and it finds [data] this string contains what I want then pull data out from between the brackets and store, simple enough
It was taking a long time on my laptop, originally 15 minutes, so I put together a very past PC, i5 Sky Lake CPU overclocked to 4.5 GHz, DDR4 ram at 3.5GHz, M.2 SSD raid 0 with R/W 2.5GHz, etc. It absolutely smokes the laptop EXCEPT on Excel. In Windows 10 I tried 64 and 32 bit Excel but 64 bit is slower by a few minutes than 32
[TABLE="class: t1"]
<tbody>[TR]
[TD="class: td1"][/TD]
[TD="class: td1"]load windows[/TD]
[TD="class: td1"] load wkbk[/TD]
[TD="class: td1"]process[/TD]
[/TR]
[TR]
[TD="class: td1"][/TD]
[TD="class: td1"][/TD]
[TD="class: td1"][/TD]
[TD="class: td1"][/TD]
[/TR]
[TR]
[TD="class: td1"]laptop Win 7 spinner [/TD]
[TD="class: td1"]many minutes[/TD]
[TD="class: td1"] 30 sec [/TD]
[TD="class: td1"]4 min[/TD]
[/TR]
[TR]
[TD="class: td1"]PC win 7 spinner[/TD]
[TD="class: td1"]30 sec [/TD]
[TD="class: td1"] 25 sec[/TD]
[TD="class: td1"]10 min[/TD]
[/TR]
[TR]
[TD="class: td1"]PC Win 10 M.2 Raid 0[/TD]
[TD="class: td1"]10 sec[/TD]
[TD="class: td1"] 1 sec[/TD]
[TD="class: td1"]12 min[/TD]
[/TR]
</tbody>[/TABLE]
I was using FIND statements and got it down to 4 minutes on the laptop by changing all of the FINDs to MATCH, but still much slower on the very fast PC. I wrote the VBA code on the laptop and it has Office 2010 on it. The slower running fast PC has the latest from Office 365, could that be the issue? If so I would buy a copy of 2010 but don't want to waste the money if it could be another issue
thanks for any ideas
search for "*this string contains*" and it finds [data] this string contains what I want then pull data out from between the brackets and store, simple enough
It was taking a long time on my laptop, originally 15 minutes, so I put together a very past PC, i5 Sky Lake CPU overclocked to 4.5 GHz, DDR4 ram at 3.5GHz, M.2 SSD raid 0 with R/W 2.5GHz, etc. It absolutely smokes the laptop EXCEPT on Excel. In Windows 10 I tried 64 and 32 bit Excel but 64 bit is slower by a few minutes than 32
[TABLE="class: t1"]
<tbody>[TR]
[TD="class: td1"][/TD]
[TD="class: td1"]load windows[/TD]
[TD="class: td1"] load wkbk[/TD]
[TD="class: td1"]process[/TD]
[/TR]
[TR]
[TD="class: td1"][/TD]
[TD="class: td1"][/TD]
[TD="class: td1"][/TD]
[TD="class: td1"][/TD]
[/TR]
[TR]
[TD="class: td1"]laptop Win 7 spinner [/TD]
[TD="class: td1"]many minutes[/TD]
[TD="class: td1"] 30 sec [/TD]
[TD="class: td1"]4 min[/TD]
[/TR]
[TR]
[TD="class: td1"]PC win 7 spinner[/TD]
[TD="class: td1"]30 sec [/TD]
[TD="class: td1"] 25 sec[/TD]
[TD="class: td1"]10 min[/TD]
[/TR]
[TR]
[TD="class: td1"]PC Win 10 M.2 Raid 0[/TD]
[TD="class: td1"]10 sec[/TD]
[TD="class: td1"] 1 sec[/TD]
[TD="class: td1"]12 min[/TD]
[/TR]
</tbody>[/TABLE]
I was using FIND statements and got it down to 4 minutes on the laptop by changing all of the FINDs to MATCH, but still much slower on the very fast PC. I wrote the VBA code on the laptop and it has Office 2010 on it. The slower running fast PC has the latest from Office 365, could that be the issue? If so I would buy a copy of 2010 but don't want to waste the money if it could be another issue
thanks for any ideas