I have over 2000 columns in my sheet - I am importing data from external binary random acces files - I bring these in as arrays of numbers - so how can I convert column 60 to a letter BH - column 186 to GD and so on.
Astr="A30:A60,D30:D30" - This does not work - It would be sweet if I can pop all the values into the sheet in one go. Right now I use the TemPvalues arrauy to make sure they Columns are consequetive.
In both cases my array is diminsioned like this
redim TemPvalues(2,30)
This is just for an example - my real arrays are like up to 32K rows each 1050 columns - FYI - these are Infra-red absorbance spectra.
just realized that Astr is diminsioned as a string - But I dont thing that is the problem.
Norie
I figured it is faster to fill the cells with the array values using a range - rather than using a loop - or can you fill cells directly from an array? - sorry for all these questions - but my VB experience is not from Excel - so I just learning the Excel side of the code - there sure is a million Excel specific commands. I do appreciate your questions - I am learning from them.
1) Do you know if that is faster than using a range statement
2) Can you move an arrays say MyArray(5,30) - where I want the data to go into 5 columns (not consequtive columns so i.e. A, C, K, O & P ) - each columns having 30 observations added.
We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel
Which adblocker are you using?
Disable AdBlock
Follow these easy steps to disable AdBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the icon in the browser’s toolbar. 2)Click on the "Pause on this site" option.
Go back
Disable AdBlock Plus
Follow these easy steps to disable AdBlock Plus
1)Click on the icon in the browser’s toolbar. 2)Click on the toggle to disable it for "mrexcel.com".
Go back
Disable uBlock Origin
Follow these easy steps to disable uBlock Origin
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.
Go back
Disable uBlock
Follow these easy steps to disable uBlock
1)Click on the icon in the browser’s toolbar. 2)Click on the "Power" button. 3)Click on the "Refresh" button.