Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 97
Default Conflict reporting No of columns

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Conflict reporting No of columns

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,080
Default Conflict reporting No of columns

"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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 97
Default Conflict reporting No of columns

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   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Conflict reporting No of columns

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
multiple columns of data, reporting Means of specific combinations Steve[_19_] Excel Discussion (Misc queries) 2 May 18th 09 08:16 PM
Name Conflict Roger[_4_] Excel Discussion (Misc queries) 5 March 14th 08 02:14 PM
vba macro to perform custom reporting -transpose from rows to columns vba_newbie New Users to Excel 0 September 12th 07 01:28 PM
Conflict MathewPBennett Excel Programming 3 December 22nd 03 09:29 PM
Name conflict John Turton Excel Programming 2 August 28th 03 04:47 PM


All times are GMT +1. The time now is 11:49 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"