Results 1 to 10 of 15

Thread: Transfering Data From Userform To Sheet Under Relevant Column And Row

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #10
    Moderator
    Join Date
    Jul 2012
    Posts
    156
    Rep Power
    14
    But that part of code is still in your Userform_Initialize procedure so it will always throw an error when starting-up your UF.
    The way you filled in your sheets is also wrong. I suppose you will have to use the value of your Lenticular set -object to write to the correct sheet.
    It will become something like this

    Code:
        With Sheets(ComboBox2.Value)
        lngCol = .Rows("2:2").Find(What:="SET " & ComboBox2.Text, LookAt:=xlWhole).Column
           With .Cells(.Rows.Count, lngCol).End(xlUp).Offset(1)
                .Resize(, 6) = Array(ComboBox1.Value, ComboBox3.Value, ComboBox4.Value, ComboBox5.Value, TextBox1.Text, TextBox2.Text)
            End With
        End With
    Last edited by bakerman; 08-08-2013 at 11:52 AM.

Similar Threads

  1. Replies: 30
    Last Post: 07-19-2013, 07:52 AM
  2. Replies: 8
    Last Post: 07-01-2013, 03:52 PM
  3. Group Pivot Data Based On Row Values In One Column
    By mrmmickle1 in forum Excel Help
    Replies: 10
    Last Post: 10-09-2012, 11:46 PM
  4. Copy Row To A New Sheet If A Value Found In Adjacent Column
    By Rajesh Kr Joshi in forum Excel Help
    Replies: 4
    Last Post: 08-17-2012, 05:42 PM
  5. Finding Last Used Row or Column In Excel Sheet
    By Rasm in forum Excel and VBA Tips and Tricks
    Replies: 0
    Last Post: 04-14-2011, 03:17 AM

Posting Permissions

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