Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm trying to write a vb script to open a workbook and just remove the first
row. I need it to remove the row and shift everything up, not just delete the cell contents. I recirded a macro of the actcion and then just copied the VB code from the editor into my script. But when I run it I get and error code 800A0400 at line 5 char 24.it s the xlup statement. here is the actual script. Set objExcel = CreateObject("Excel.Application") Set objWorkbook = objExcel.Workbooks.Open("C:\book1.xls") objExcel.Visible = TRUE Rows("1:1").Select Selection.Delete Shift:=xlUp |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
remove convert/extract the number from'12345.56; ie remove ' sign | Excel Worksheet Functions | |||
How do I remove hyperlink if 'remove' option is disabled | New Users to Excel | |||
HOW CAN I REMOVE SCRIPT ERROR FROM MICROSOFT WORD AND EXCEL. | Excel Discussion (Misc queries) | |||
Excel 2000/XP script to Excel97 script | Excel Programming | |||
Is there a way to remove numbers w/o remove formulas | Excel Programming |