Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel,microsoft.public.excel.programming,microsoft.public.vb.general.discussion
|
|||
|
|||
![]()
I'm puzzled. I had a perfectly working code using
range(range("A1"), range("A1").SpecialCells(xlLastCell)).copy and range(range("A1"), range("A1").SpecialCells(xlLastCell)) .AutoFilter Field:=2, Criteria1:="36084" and all of a sudden, I get this error message: Compile error: Wrong number of arguments or invalid property assignment Any thoughts? Thanks. |
#2
![]()
Posted to microsoft.public.excel,microsoft.public.excel.programming,microsoft.public.vb.general.discussion
|
|||
|
|||
![]()
wrote:
I'm puzzled. I had a perfectly working code using range(range("A1"), range("A1").SpecialCells(xlLastCell)).copy and range(range("A1"), range("A1").SpecialCells(xlLastCell)) .AutoFilter Field:=2, Criteria1:="36084" and all of a sudden, I get this error message: Compile error: Wrong number of arguments or invalid property assignment Any thoughts? First thought, cut/paste the actual problem code into a message, before posting it to usenet. Impossible to diagnose syntax errors when you retype the code. (Not that I myself would see it in this case, necessarily, but neither I nor anyone else has a chance given what you've offered.) -- Working without a .NET? http://classicvb.org/ |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
use variable in Workbooks("book1").Worksheets("sheet1").Range("a1" | Excel Programming | |||
"Subscript out of range" error for: Workbooks("Test1.xls").Save | Excel Programming | |||
Using "Cells" to write "Range("A:A,H:H").Select" | Excel Programming | |||
XP VBA: Range("A2", ActiveCell.SpecialCells(xlLastCell)).Select | Excel Programming |