A
Andy Lenik
Hi All
I'm fairly experienced with using VBA, but new to MS Project VBA. I
find it a lot of hassle to hide a column, then select where I want it
to be and show it there... I can't believe you can't drag and drop!
I've been looking at the TableEdit method but can't seem to do what I
want (examples are a bit lacking).
I'd like to be able to create a procedure to either move the selected
column (within the selected table) left, or right. I was thinking one
sub each, that calls a central peice of code with a parameter (left /
right).
However, I can't find out which table I have selected, in order to
edit that table. I know how to hide a column, but how do I show it
again one column left / right of where it started?
Thanks very much in advance.
Andy.
P.S. I'll be adding left / right buttons on my toolbar to run the
relevant code, if anyone knows how to disable the buttons when there's
an incorrect view (or the column couldn't move in that direction) I'd
love to know how.
I'm fairly experienced with using VBA, but new to MS Project VBA. I
find it a lot of hassle to hide a column, then select where I want it
to be and show it there... I can't believe you can't drag and drop!
I've been looking at the TableEdit method but can't seem to do what I
want (examples are a bit lacking).
I'd like to be able to create a procedure to either move the selected
column (within the selected table) left, or right. I was thinking one
sub each, that calls a central peice of code with a parameter (left /
right).
However, I can't find out which table I have selected, in order to
edit that table. I know how to hide a column, but how do I show it
again one column left / right of where it started?
Thanks very much in advance.
Andy.
P.S. I'll be adding left / right buttons on my toolbar to run the
relevant code, if anyone knows how to disable the buttons when there's
an incorrect view (or the column couldn't move in that direction) I'd
love to know how.