brkamikasecps
New Member
- Joined
- Jul 12, 2009
- Messages
- 24
Hi guys!
first, sorry about my english =D
i have a ADO Connection. My query is like this:
It works, but my problem is to write this values.
Why?
Cause i work with my workbook open (not that from connection) and i have something like 55,000 rows to change value. A complex range:
I have a loop for each cell in this range, but this process is very slow.
Imagine:
55,000? So slow...
I saw something about QueryTable, but i didnt understand if can help me...
Any suggestions are greatly appreciated.
Regars from Brazil! =)
Allan Carvalho
first, sorry about my english =D
i have a ADO Connection. My query is like this:
Code:
select [C1] from [values$]
Why?
Cause i work with my workbook open (not that from connection) and i have something like 55,000 rows to change value. A complex range:
Code:
D2,D11:D12,D14:D20,D32,D42,D52,D62,D72,D82,D92,D101:D102,D104:D112...
Imagine:
Code:
For Each rng In rng
rng.Value = objRecordset(0)
objRecordset.MoveNext
Next rng
I saw something about QueryTable, but i didnt understand if can help me...
Any suggestions are greatly appreciated.
Regars from Brazil! =)
Allan Carvalho