+ Reply to Thread
Results 1 to 6 of 6

Find all records that match criteria shown in list box

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    01-18-2005
    Posts
    238

    One more question

    Thank you so much charles. The code works great so far.

    Just one question about the variables, c and firstaddress weren't declared so I declared them as variant. Is there a better data type that I should declare them for speed and memory.


    thanks


    Josh

  2. #2
    Valued Forum Contributor Charles's Avatar
    Join Date
    02-10-2004
    Location
    Biloxi
    MS-Off Ver
    Windows 7, Excel 2003,2007 & Mac2011
    Posts
    845
    Josh,

    If the database is not large then declare as variant should be ok.
    However I think
    firstaddress c.Address should be Range
    c as string

    delete "Dim lrow As Long" you do not need it.
    Charles

    There are other ways to do this, this is but 1 !
    Be Sure you thank those who helped.
    IF YOU'RE SATISFIED BY ANY MEMBERS RESPONSE TO YOUR ISSUE PLEASE USE THE STAR ICON AT THE BOTTOM LEFT OF THE POST UNDER THEIR NAME.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1