+ Reply to Thread
Results 1 to 5 of 5

Define where to start entering data from a user form

  1. #1
    Registered User
    Join Date
    05-18-2015
    Location
    England
    MS-Off Ver
    2010
    Posts
    2

    Define where to start entering data from a user form

    I have the following code set up on a user form which starts looking for the next empty row from the beginning of the spreadsheet but I would like it to start from cell B14.


    'Determine emptyRow
    emptyRow = WorksheetFunction.CountA(Range("A:A")) + 1

    'Transfer information
    Cells(emptyRow, 2).Value = JobTextBox.Value
    Cells(emptyRow, 4).Value = CodeComboBox1.Value
    Cells(emptyRow, 7).Value = TotalHrsTextBox.Value

    Can anyone help with this code?

    Thanks

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Define where to start entering data from a user form

    Replace this line of code

    Please Login or Register  to view this content.
    With

    Please Login or Register  to view this content.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Define where to start entering data from a user form

    Welcome to the forum. Unfortunately:


    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here



    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  4. #4
    Registered User
    Join Date
    05-18-2015
    Location
    England
    MS-Off Ver
    2010
    Posts
    2

    Re: Define where to start entering data from a user form

    Worked perfect.

    Thanks you.

  5. #5
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Define where to start entering data from a user form

    Really not a great start here ignoring Moderator request!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Entering image in to a worksheet from user form
    By Citrix1966 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-27-2014, 07:37 AM
  2. How to write a VBA with User form for Entering the DATA to print a cheque
    By vajeednawab in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-10-2013, 04:37 PM
  3. Custom Design Data Entry User Form for Entering Customer Information
    By dizzle in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-19-2013, 01:37 PM
  4. Calling a user form initialize sub when entering the form to populate combobox...
    By regupnorth in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-02-2012, 07:24 AM
  5. Entering worksheet data via user form
    By Tellus in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-29-2008, 01:37 PM

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