Results 1 to 5 of 5

|| Macro in userform | Help ||

Threaded View

  1. #1
    Registered User
    Join Date
    04-18-2013
    Location
    Bristol, England
    MS-Off Ver
    Excel 2010
    Posts
    33

    Smile || Macro in userform | Help ||

    Hi all...

    Am trying to create a purchase order form, whereby users can add their own contact. I've created a userform for this, but already have an existing table of fields, so I think the error message is related to where the new field is trying to be entered.

    Included is full file, any help would be greatly appreciated!

    "
    Dim iRow As Long
    Dim ws As Worksheet
    Set ws = Worksheets("Sheet2")

    'find first empty row in database
    iRow = ws.Cells.Find(What:="*", SearchOrder:=xlRows, _ SearchDirection:=xlPrevious, LookIn:=xlValues).Row + 1"

    * ' find first empty... * is the error command.

    Regards :-)
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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