+ Reply to Thread
Results 1 to 4 of 4

AutoFill When A Cell Inputted With Data

  1. #1
    Registered User
    Join Date
    01-13-2010
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    5

    AutoFill When A Cell Inputted With Data

    How would I go about getting a cell to be autofill with a word once the user inputs data in the adjacent cell

    For example:

    A1 would initially be blank. When the user types into B1, A1 is automatically filled with the word "True". When the user types into B2, A2 is automatically filled with the word "True." And so on.

    So the goal is to only have column A (specifically, a range in column A) be filled with the word "True" if there is data is inputted in column B(specifically, a range in column B).

    I am new to programming in VBA, so I am cluelessly how to accomplish this.

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: AutoFill When A Cell Inputted With Data

    You wouldn't need VBA for this, you can use a simple IF formula.

    In A1 put:

    =IF(ISBLANK(B1),"","True")

    Fill that down as many rows as you need to in column A.

  3. #3
    Registered User
    Join Date
    01-13-2010
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: AutoFill When A Cell Inputted With Data

    I will try this now. Still tune if I have any questions.
    Thanks for your quick reply.

    sawah

  4. #4
    Registered User
    Join Date
    01-13-2010
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: AutoFill When A Cell Inputted With Data

    Thanks. That did the trick.
    Last edited by esawah; 01-14-2010 at 02:39 AM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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