+ Reply to Thread
Results 1 to 3 of 3

Adding code into vba module?

  1. #1
    Registered User
    Join Date
    02-25-2014
    Location
    Turkey
    MS-Off Ver
    Excel 2010
    Posts
    77

    Adding code into vba module?

    Hi,
    How can l add the following code into vba module ?

    If Left(Cells(a, 2), 2) <> "DP" Then
    For b = 6 To 117 Cells(a, b) = "0"

    Vba module;
    Please Login or Register  to view this content.
    Regards
    Thank you for helping.

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Adding code into vba module?

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    02-25-2014
    Location
    Turkey
    MS-Off Ver
    Excel 2010
    Posts
    77

    Re: Adding code into vba module?

    Thank you stnkynts, code is working.
    Regards

+ 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] Code locks cells when inserted in sheet module but returns error in standard module
    By yoda66 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-07-2014, 07:39 AM
  2. [SOLVED] Adding XML kind of code in Exce; VBA Code module
    By karthisankaran in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-05-2012, 11:17 PM
  3. how to access Sheet module, normal module, Worbook module to type code
    By alibaba in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-31-2009, 07:51 AM
  4. Trouble Adding VBA Code to Module; Bug in Excel/VBE?
    By Mat P:son in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-20-2006, 02:40 PM
  5. Replies: 1
    Last Post: 04-10-2005, 07: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