+ Reply to Thread
Results 1 to 8 of 8

Excel VBA evaluate if Cell in column D is empty and Cell in column A is not empty

  1. #1
    Forum Contributor
    Join Date
    07-17-2011
    Location
    PH
    MS-Off Ver
    Excel 2007
    Posts
    183

    Excel VBA evaluate if Cell in column D is empty and Cell in column A is not empty

    Hi, I have a requirements in vba excel to evaluate if cell value in column D is empty and if cell in column A has a value then i need to fill up the column D with a string 'IN-TRANSIT". May I ask your assistance on how to do this in vba macro. thank you in advance.

    sample data

    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Excel VBA evaluate if Cell in column D is empty and Cell in column A is not empty

    not sure why you need vba
    would this not work?
    Attached Files Attached Files
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Contributor
    Join Date
    07-17-2011
    Location
    PH
    MS-Off Ver
    Excel 2007
    Posts
    183

    Re: Excel VBA evaluate if Cell in column D is empty and Cell in column A is not empty

    Hi I have this code so far and its working. not yet tested in actual data.

    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    07-17-2011
    Location
    PH
    MS-Off Ver
    Excel 2007
    Posts
    183

    Re: Excel VBA evaluate if Cell in column D is empty and Cell in column A is not empty

    THanks for the reply. Please correct me if im wrong. the data is coming from another workbook and dump to the activeworkbook. that's why if ever i will add the formula this will be overwrite.

    Btw, kindly please take a look my other thread from another forum. I have another requirements hoping you can help me to do this. thanks in advance.

    http://www.vbaexpress.com/forum/show...566#post314566

  5. #5
    Valued Forum Contributor
    Join Date
    03-21-2013
    Location
    cyberia
    MS-Off Ver
    Excel 2007
    Posts
    457

    Question Re: Excel VBA evaluate if Cell in column D is empty and Cell in column A is not empty

    vba macro. just for variety
    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    07-17-2011
    Location
    PH
    MS-Off Ver
    Excel 2007
    Posts
    183

    Re: Excel VBA evaluate if Cell in column D is empty and Cell in column A is not empty

    THank you for the reply. May i ask also an assistance which i have posted from the other forum.

  7. #7
    Valued Forum Contributor
    Join Date
    03-21-2013
    Location
    cyberia
    MS-Off Ver
    Excel 2007
    Posts
    457

    Re: Excel VBA evaluate if Cell in column D is empty and Cell in column A is not empty

    (a) Ask your new question on the other forum. Your opening post here has been answered.

    (b) If no luck there then post your new question here, noting on both forums that you have cross-posted.

  8. #8
    Forum Contributor
    Join Date
    07-17-2011
    Location
    PH
    MS-Off Ver
    Excel 2007
    Posts
    183

    Re: Excel VBA evaluate if Cell in column D is empty and Cell in column A is not empty

    okey. Thank you.

+ 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: 5
    Last Post: 05-13-2014, 10:19 AM
  2. Need to find empty filled cells in a column and copy to the empty cell below
    By Grahamfeeley in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-30-2014, 10:09 AM
  3. [SOLVED] Macro to find the empty cell in a column and copy a adjacent row to another column.
    By naga in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-18-2013, 07:44 AM
  4. [SOLVED] VBA to detect next empty cell in column and add formula, then repeat for next column, ...
    By Marijke in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-17-2013, 07:28 AM
  5. Copy a formula to cells in column A which don't have an empty cell in column B
    By floep in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-24-2006, 04:57 AM

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