Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am having trouble with this macro
Sub ReturnColumnNumbers() Dim ColNum As Integer ColNum = Selection.Column MsgBox ("The Selected Column Numbers are" & Chr(13) & ColNum) End Sub The problem is it works when I select just one column but if I select more than one column it does not return the other column numbers ? Any thoughts ? Dan Thompson |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Need help with Procedure to return selected column numbers | Excel Programming | |||
Need help with Procedure to return selected column numbers | Excel Programming | |||
Need help with Procedure to return selected column numbers | Excel Programming | |||
Function to return # of column with min value in selected rows | Excel Worksheet Functions | |||
Add selected numbers in a column that are a different color | Excel Discussion (Misc queries) |