(I have Excel 2010 running on Windows 7 Ultimate)
I am trying to write an Excel macro which will (1) pull in all satellite transponder info from a webpage; (2) sort it according to which beams are desired; (3) break down the appropriate data into bytes, one per cell; (4)write the appropriate data to a file.
So far, with the help of the built-in macro recorder and searching this forum, I have managed to sort out (1), (2) and (3). Part (4) ought to be the easy part, but I'm struggling...
Suppose I have already have a file called "test.ndf" with initial file size 1000 bytes. After doing stages (1)-(3) above, my spreadsheet has the relevant data in cells A1 to A2000, with each cell containing a decimal between 0 and 255 inclusive. I would like to write a macro which will loop through these 2000 cells, appending each value as a byte to my orginal file, so that it has file size 3000 bytes at the end.
Thanks for taking the time to read this,
Bluto
I am trying to write an Excel macro which will (1) pull in all satellite transponder info from a webpage; (2) sort it according to which beams are desired; (3) break down the appropriate data into bytes, one per cell; (4)write the appropriate data to a file.
So far, with the help of the built-in macro recorder and searching this forum, I have managed to sort out (1), (2) and (3). Part (4) ought to be the easy part, but I'm struggling...
Suppose I have already have a file called "test.ndf" with initial file size 1000 bytes. After doing stages (1)-(3) above, my spreadsheet has the relevant data in cells A1 to A2000, with each cell containing a decimal between 0 and 255 inclusive. I would like to write a macro which will loop through these 2000 cells, appending each value as a byte to my orginal file, so that it has file size 3000 bytes at the end.
Thanks for taking the time to read this,
Bluto