+ Reply to Thread
Results 1 to 2 of 2

Macro to enter data in next column if previous column is filled.

  1. #1
    Registered User
    Join Date
    05-13-2014
    MS-Off Ver
    Excel:Mac 2011 14.4.1
    Posts
    25

    Macro to enter data in next column if previous column is filled.

    Hey guys, I've been trying to figure this out to make things more automated and streamlined at my work. Basically I've been working on this order sheet where you enter data in the current order column, and then when you click a button, it takes all of that information and adds it to the order history to the right. I've been messing around in a less sensitive workbook trying to get this to work but I'm at a point now where the macro I have will copy the appropriate data to the first column, but will not move on to the next column. It's also very important that the whole row of values is copied to the next blank column, IE if a space is left blank in the previous order, the next set cannot fill that blank space in, everything just goes to the next wholly empty column.

    order history.xls

    A copy of that order sheet so you can see what I'm trying to do and how to apply it. Here's the macro I've shoddily assembled here. I know it's not terrific and I'm sure somewhat redundant but I am no excel expert, hence, I come here.

    Please Login or Register  to view this content.
    Hopefully someone here is enlightened enough to help me out with what seems like a fairly simple issue.

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Macro to enter data in next column if previous column is filled.

    Try this if I understood you correctly.

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

+ 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. Replies: 2
    Last Post: 12-27-2013, 12:28 PM
  2. Replies: 15
    Last Post: 02-20-2013, 04:57 PM
  3. Copy formulas of previous row if values are filled in column A
    By acsishere in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-02-2013, 01:28 PM
  4. Insert column and fill column upto where data is in previous column
    By aka189 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-24-2012, 06:07 AM
  5. VBA Code to copy data from last filled column and paste to the next available column.
    By Pavman2473 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-09-2012, 09:07 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