I have just joined this forum because I was having trouble with the formats for displaying my code in VBA
My first problem was not being able to 'dock' windows - shown on this post and solution suggested by Marcelo Branco (thank you)
http://www.mrexcel.com/forum/showthread.php?t=607518
Having implemented the above solution I now find that the code shown in the code window is only one object at a time -i.e.
Private Sub CommandButton1_Click()
shows only the code associated with this button ( in this case 4 lines)
similarly
Private Sub CommandButton2_Click()
shows only the code associated with this button
In the past I have been able to scroll up and down over several different objects but I can only access 1 object at a time by selecting from the drop down menu (i.e. userform, textbox1, CommandButton1 etc)
My first problem was not being able to 'dock' windows - shown on this post and solution suggested by Marcelo Branco (thank you)
http://www.mrexcel.com/forum/showthread.php?t=607518
Having implemented the above solution I now find that the code shown in the code window is only one object at a time -i.e.
Private Sub CommandButton1_Click()
shows only the code associated with this button ( in this case 4 lines)
similarly
Private Sub CommandButton2_Click()
shows only the code associated with this button
In the past I have been able to scroll up and down over several different objects but I can only access 1 object at a time by selecting from the drop down menu (i.e. userform, textbox1, CommandButton1 etc)
Last edited: