+ Reply to Thread
Results 1 to 5 of 5

Update column B with column C

  1. #1
    Registered User
    Join Date
    10-12-2019
    Location
    USA
    MS-Off Ver
    365
    Posts
    82

    Update column B with column C

    Hello to all,
    I want to copy column C to column B.

    If row in c is blank and row in B has data, then do nothing
    If row in c has data, then move data to B
    If both c and b are blank, then do nothing

    The code does not work properly. When C is blank and B has data then B is being overbright with blank.

    Thanks for any help
    Attached Files Attached Files
    Last edited by Malagon; 06-03-2025 at 09:19 PM.

  2. #2
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    China Shanghai
    MS-Off Ver
    365 V2505 and WPS V2024(12.1.0.18543)
    Posts
    4,113

    re: Update column B with column C

    Pls try this code
    Please Login or Register  to view this content.

  3. #3
    Forum Expert
    Join Date
    10-06-2017
    Location
    drevni ruchadlo
    MS-Off Ver
    old
    Posts
    2,301

    re: Update column B with column C

    Option
    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    10-12-2019
    Location
    USA
    MS-Off Ver
    365
    Posts
    82

    Re: Update column B with column C

    Hello

    Thanks to both of you for helping me out. The code works well.

    Thank you.

  5. #5
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    China Shanghai
    MS-Off Ver
    365 V2505 and WPS V2024(12.1.0.18543)
    Posts
    4,113

    Re: Update column B with column C

    @Malagon You're Welcome. Glad to help . Thank You for the feedback and rep.

+ 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: 07-15-2024, 12:19 AM
  2. Replies: 3
    Last Post: 10-19-2022, 12:45 PM
  3. Replies: 7
    Last Post: 05-06-2020, 12:02 PM
  4. Replies: 2
    Last Post: 05-21-2015, 10:41 PM
  5. Replies: 1
    Last Post: 07-23-2014, 02:42 AM
  6. [SOLVED] Macro to update the date column for certain rows in a table depending on a column value
    By ajolin in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-18-2012, 12:21 AM
  7. Insert/Update particular column based on background colour of another column
    By onenessboy in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-01-2012, 03:28 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