Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Why "expected function" on such basic VB?
Howdie,
Why do I get error "expected function"with this simple vb..? Sheets("abc").Select Cells.Select selection.Clear Thanks D *** Sent via Developersdex http://www.developersdex.com *** |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Why "expected function" on such basic VB?
perhaps during compilation of ur code a function is expected in any other
place ? Do you use option explicit directive and you compiled manually ur code before u run the macro ? |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Why "expected function" on such basic VB?
|
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Why "expected function" on such basic VB?
Hi
Adding, don't select and activate, it is unnecessary and slow in at least 99% of the cases. Just write Sheets("abc").Cells.Clear it runs invisible and fast, and your working environment doesn't change. HTH. Best wishes Harald "Darin Kramer" skrev i melding ... Thanks, I worked it out! *** Sent via Developersdex http://www.developersdex.com *** |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Text "comparison" operator for "contains" used in an "IF" Function | Excel Worksheet Functions | |||
Please add a "sheet" function like "row" and "column" functions | Excel Programming | |||
Visual basic unlock "SORT" function in an EXCEL spreadsheet | Excel Programming | |||
visual basic example of the defunct "Extract" function in Excel 4. | Excel Programming | |||
Please help - expected record status "missing" | Excel Programming |