I need to convert a table with multiple columns into one with two columns only, which denote all the possible interactions. I have categorical data on topics present (1) or not (0) in different text sections (ID). The format is the following:

ID 105 101 108 202 ... 2099
1 1 1 1 0 ... 0
2 1 0 1 0 ... 0
3 1 1 0 1 ... 0
...

The column titles correspond to different topics and do not contain all numbers between 1 and 2099. I need to convert the data in the following format:

Var1 Var2
105 101
105 108
101 108
105 108
105 101
105 101
105 202
101 202
...

Unfortunatelly, macros are not my strong side. What VBA do i need in order to do this?