Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
How many columns spreadsheet has? oExcel.ActiveWorkbook.ActiveSheet.Columns.Count returns number 256 but when I scroll spreadsheet horizontallyI see much more of them. Roughly, my count is 27*27 which is equal to 729. Why is that discrepancy? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Public Sub colcount()
Cells.Select MsgBox Selection.Columns.Count End Sub -- Regards, Dave Patrick ....Please no email replies - reply in newsgroup. Microsoft Certified Professional Microsoft MVP [Windows] http://www.microsoft.com/protect "Jack" wrote: | Hello, | How many columns spreadsheet has? | oExcel.ActiveWorkbook.ActiveSheet.Columns.Count returns number 256 | but when I scroll spreadsheet horizontallyI see much more of them. | Roughly, my count is 27*27 which is equal to 729. | Why is that discrepancy? | | |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
"Jack" <replyto@newsgroup wrote in message
... when I scroll spreadsheet horizontallyI see much more of them. Roughly, my count is 27*27 which is equal to 729. Not possible. There are only 256 columns. How do you get 27x27? -- Vasant |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sorry my mistake.
I did not pay attention. The last column is IV not ZZ as I assumed. I am not Excel user so I am not familiar with it. What is the common way of addressing columns: number or letter? What I mean is: User will say: "Column 5" or "Column E" ? Please advise. Jack "Jack" <replyto@newsgroup wrote in message ... Hello, How many columns spreadsheet has? oExcel.ActiveWorkbook.ActiveSheet.Columns.Count returns number 256 but when I scroll spreadsheet horizontallyI see much more of them. Roughly, my count is 27*27 which is equal to 729. Why is that discrepancy? |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Either way.
http://support.microsoft.com/default...;en-us;Q269866 -- Regards, Dave Patrick ....Please no email replies - reply in newsgroup. Microsoft Certified Professional Microsoft MVP [Windows] http://www.microsoft.com/protect "Jack" wrote: | Sorry my mistake. | I did not pay attention. The last column is IV not ZZ as I assumed. | I am not Excel user so I am not familiar with it. | What is the common way of addressing columns: number or letter? | What I mean is: | User will say: "Column 5" or "Column E" ? | Please advise. | Jack | | "Jack" <replyto@newsgroup wrote in message | ... | Hello, | How many columns spreadsheet has? | oExcel.ActiveWorkbook.ActiveSheet.Columns.Count returns number 256 | but when I scroll spreadsheet horizontallyI see much more of them. | Roughly, my count is 27*27 which is equal to 729. | Why is that discrepancy? | | | | |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
multiple columns of data, reporting Means of specific combinations | Excel Discussion (Misc queries) | |||
Name Conflict | Excel Discussion (Misc queries) | |||
vba macro to perform custom reporting -transpose from rows to columns | New Users to Excel | |||
Conflict | Excel Programming | |||
Name conflict | Excel Programming |