Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
Hi Pls say me
1. How to mention a particular sheet name while opening excel with VB script. 2.how to know the rowcount and column count in excel using vb script. |
#2
![]()
Posted to microsoft.public.excel.newusers
|
|||
|
|||
![]()
hi
this is from a macro i use to use. reference the file name and complete file path. Workbooks.Open Filename:="S:\PUBLIC\AE-MRP40\DollarsByLoc40.xls" row count.... dim lastrow as long lastrow = cells(Rows.Count, "A").End(xlUp).Row 'where A is the column msgbox lastrow column count.... dim lastcol as long lastcol = Cells(1, Columns.Count).End(xlToLeft).Column 'where 1 is the row msgbox lastcol regards FSt1 "refina" wrote: Hi Pls say me 1. How to mention a particular sheet name while opening excel with VB script. 2.how to know the rowcount and column count in excel using vb script. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to mention a particular sheet name while opening excel with VB script. | New Users to Excel | |||
problem while opening the excel sheet | New Users to Excel | |||
problem while opening the excel sheet | New Users to Excel | |||
HOW TO LOCK THE OPENING OF AN EXCEL SHEET? | Excel Worksheet Functions | |||
Opening an excel sheet but i don't see it | Excel Discussion (Misc queries) |