How to create macro for reverse bit order in array cells using Bitwise Operators


0 votes
asked Feb 10, 2016 by lbh_697 (1,130 points)
I'm trying to create macro in c which purpose is re-write in reverse order bits of each cell in array, for example, if cell A[1] is: 1100, final cell A[1] will be: 0011

4 Answers

0 votes
answered Feb 22, 2016 by what_ex (1,600 points)

Related article: How to flip the first and last name in cells in Excel.
Then click Ok or Apply, the words in the cells have been reversed at once.
Select the range that you want to reverse.
commented Feb 23, 2016 by optimized (820 points)
Assembly code for this can be found in this question
0 votes
answered Feb 24, 2016 by vedder (1,580 points)
That post is available at Excel Reverse & Transpose Order Of Cells, Rows and Columns
Hope this helps somebody
commented Feb 26, 2016 by slaubaugh (560 points)
There is a common pattern that solves this problem quite well
commented Feb 26, 2016 by Walborn (2,150 points)
This is a problem I have been trying to track down for a couple months now. That what I use normally
+1 vote
answered Mar 5, 2016 by Stagows (2,110 points)
This was a good http://www.databison.com/vba-code-for-text-to-column/ poor man's solution
See discussion in this question
0 votes
answered Mar 24, 2016 by Gun_Was (580 points)
HintHow to be more efficient and save time when using Excel

Related questions


What is Geekub?

Q&A site for professional and enthusiast programmers, software developers and other technical users. With your help, we hope to work together to build a library of detailed answers to just about any question that is related to programming!







...