+ Reply to Thread
Results 1 to 5 of 5

replace problem and collor a row after 6 and 8 weeks

  1. #1
    Registered User
    Join Date
    02-20-2013
    Location
    Amsterdam, Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    70

    replace problem and collor a row after 6 and 8 weeks

    Dear forum members;

    This is mine problem,

    The searchscreen is also een search and replace function and has the following problem
    By replacing the chances it goes wrong on this piece of code:

    myrow = CLng(cmdVoerWijzigingenDoor.Tag)


    Start with the start screen and click on the search button.
    Than the search screen will appear.

    You search with the button and field Search BSN and you make chances in the form than you click on the button Do change.

    I don’t know where it goes wrong.

    Can you help?


    Warning I have disabled the start screen because its makes the ACTIVE worksheets invisible

    Mine second problem is as follows.

    The O column is the date of inserting the record.
    The active row should after 6 weeks become green and after 8 weeks the active row should become red.on the basis of the inserted date (Datum invoer) column O.






    I Have also tried this That does work to fill the variables but it does not fill the cells in the sheet.

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by blake20; 11-14-2017 at 06:10 AM. Reason: adding more trial and error

  2. #2
    Forum Expert
    Join Date
    11-23-2005
    Location
    Rome
    MS-Off Ver
    Ms Office 2016
    Posts
    1,628

    Re: replace problem and collor a row after 6 and 8 weeks

    See attached file, I hope that it's what you need.

    Regads,
    Antonio
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    02-20-2013
    Location
    Amsterdam, Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    70

    Re: replace problem and collor a row after 6 and 8 weeks

    Antonio thank you verry much for your help.


    It looks like it. But i can not find where you did make the changes.


    i ask this because 6 weeks becomes 8 weeks and the 8 weeks becomes 11 weeks. Mangers are never satisfied.


    The find en replace works thank you but i stil don't no what i did wrong.

    But for so far i am verry happy.
    Last edited by blake20; 11-21-2017 at 07:33 AM.

  4. #4
    Forum Expert
    Join Date
    11-23-2005
    Location
    Rome
    MS-Off Ver
    Ms Office 2016
    Posts
    1,628

    Re: replace problem and collor a row after 6 and 8 weeks

    Hello @blake20 and excuse me for my late answer.

    In your code you used the tag property that is like a variable where you can store something that you will use later like a string, number, etc. but your code only was reading tag but never stored something in tag property.

    I did changes with colors for weeks in conditional format based on column O.

    Regards,
    Antonio

  5. #5
    Registered User
    Join Date
    02-20-2013
    Location
    Amsterdam, Netherlands
    MS-Off Ver
    Excel 2010
    Posts
    70

    Re: replace problem and collor a row after 6 and 8 weeks

    Again thank you!


    Quote Originally Posted by antoka05 View Post
    Hello @blake20 and excuse me for my late answer.

    In your code you used the tag property that is like a variable where you can store something that you will use later like a string, number, etc. but your code only was reading tag but never stored something in tag property.

    I did changes with colors for weeks in conditional format based on column O.

    Regards,
    Antonio

+ 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: 02-14-2017, 09:33 AM
  2. [SOLVED] Add 12 weeks to date to return week number turn over at 52 weeks
    By nigelog in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-01-2017, 05:58 AM
  3. Dividing monthly values into weeks automatically (some months have 5 weeks)
    By massimoo in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-07-2012, 03:20 AM
  4. Changing Row collor based on one cell - Repeat
    By lmcsyll in forum Excel General
    Replies: 2
    Last Post: 10-12-2009, 07:52 AM
  5. How to collor certain areas of a chart
    By Piemonte in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 11-26-2007, 01:24 PM
  6. Calculating Averages based upon weeks not include Bye Weeks
    By Kfetterman1 in forum Excel General
    Replies: 2
    Last Post: 09-27-2006, 11:18 AM
  7. how do I change the fill collor os a cell using a function in VB
    By Jason R Morris in forum Excel General
    Replies: 3
    Last Post: 01-27-2006, 07:35 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