+ Reply to Thread
Results 1 to 4 of 4

Combining value in one vba code

  1. #1
    Forum Contributor
    Join Date
    10-05-2014
    Location
    CALIFORNIA
    MS-Off Ver
    2010
    Posts
    1,719

    Combining value in one vba code

    Hi everyone,
    I have this code for every single cells.
    Instead of doing it every single code, will I be able to combine them in just one code?
    Example:

    If Target.Address(0, 0) = "L10,L12,L16,L18,L22,C18,C14,C20,26" Then

    Here is the original code.

    Please Login or Register  to view this content.
    Last edited by RJ1969; 04-12-2019 at 12:57 AM. Reason: edit code

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,598

    Re: Combining value in one vba code

    Please Login or Register  to view this content.
    Ben Van Johnson

  3. #3
    Forum Contributor
    Join Date
    10-05-2014
    Location
    CALIFORNIA
    MS-Off Ver
    2010
    Posts
    1,719

    Re: Combining value in one vba code

    Hi
    I did place the code but when I click to uncheck it wont work.
    Please check ... thank you.
    Attached Files Attached Files

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,598

    Re: Combining value in one vba code


+ 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. [SOLVED] Help combining code
    By thenuguy in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-18-2016, 06:26 AM
  2. [SOLVED] combining code
    By ammartino44 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-01-2015, 07:08 PM
  3. combining code
    By freshfruit in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-11-2014, 04:19 PM
  4. Combining 2 sets of code
    By dalewms2 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-09-2011, 07:16 PM
  5. Combining code using variables
    By abousetta in forum Excel Programming / VBA / Macros
    Replies: 23
    Last Post: 06-07-2011, 07:57 AM
  6. Combining Code
    By tuckjoseph in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-11-2009, 09:53 AM
  7. Combining VBA code for columns
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-28-2005, 07:05 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