Live Scores
Shareware
Movie Stars
Programming
Multimedia
Mobile
Database
Enterprise
in
Btrieve
Database
(Entire Site)
Questions and answers to issues related to Software: Business, Database, Firewalls, Office, Graphics, Security, System, Server.
»
Database
»
4GL
»
Btrieve
»
Excel Macro Error
Excel Macro Error
I have created an excel Macro and it comes up with
Run-time error '91'
Object variabel or with block variable not set.
Looking at it, the column I am checking has calculations in. When I copy an paste as values
and redirect teh search to these columns it works.
Is their anything I can do so it is looking at the value of the calculation. The script is a follows
Sub finder()
'
Dim Quoteno As Integer
Quoteno = 3737
Columns("A:A").Select
Selection.Find(What:=Quote
no, LookIn:=xlFormulas, LookAt:=xlPart, SearchDirection:=xlNext).S
elect
Row = Selection.Row
col = Selection.Column
End Sub
Solution: Excel Macro Error
It's failing because no range is found.
Instead of LookIn:=xlFormulas, use LookIn:=xlValues
Popular Tags
Tags:
access
Access 2007
access 2007 using a wild card
ASP
ASP VB
asp.net
btrieve
CSS
database
error
Excel
Extremely slow MySQL SELECT query - table with an INNER JOIN to the same table
file
HTML
Javascript
Microsoft
MySQL
ODBC
optimization
peachtree
pervasive
php
php if else end
queries
query
SQL
SQL Server 2005
wild card
windows 7
Browse All Tags