15 Visitor Messages

  1. Smalls, simply repeat the main portion of the code (the If section) for each requirement;
    Private Sub Worksheet_Change(ByVal Target As Range)
    If Not Intersect(Target, Range("Y:AD")) Is Nothing Then
    Cells(Target.Row, 31) = Date
    End If

    If Not Intersect(Target, Range("AF:AG")) Is Nothing Then
    Cells(Target.Row, 34) = Date
    End If

    End Sub
    Make sense?
  2. View Conversation
    Chemist, I was reading a post you assisted on and you showed the following VBA code for a date to populate automatically when a data field is changed.

    Private Sub Worksheet_Change(ByVal Target As Range)
    If Not Intersect(Target, Range("Y:AD")) Is Nothing Then
    Cells(Target.Row, 31) = Date
    End If
    End Sub

    My question is, how would I do this for more than one range and dates? For example, i need column AE to show that date if Y thru AD is changed, then I need column AH to show a date if fields AF thru AG are changed, etc...
  3. View Conversation
    VBA links are at the bottom of the first post. ......Can't locate it !

    http://www.excelforum.com/excel-gene...ml#post2632794
  4. View Conversation
    Thanks, works great.
    http://www.excelforum.com/excel-gene...-next-day.html

    Can you guide me to a good link where I can learn Excel VB please
  5. View Conversation
    Haha, I saw that too ^^
  6. View Conversation
    Thanks for all your help.

    Need you to guide me to two more things please.

    How can I store all my T-SQL queries in Excel sheet, and be able to run it from Excel againt MySQL and SQL Server.

    The other please, if you can look at the link below, he is showing a way to execute , not too sure how to program that ?
    Executing Selected Tests through Excel Spreadsheet
    http://relevantcodes.com/relevantcod...ion-framework/

    Much appreciated.
  7. View Conversation
    Thank you biggie big for the scales tap!
  8. View Conversation
    Thanks for the scales tap!
  9. Yep, it's difficult to get the "Column" part of the formula to match up because you have so many merged cells. Any of the gurus online will tell you to not merge cells for reasons like this. I'll work on it tomorrow.
Showing Visitor Messages 1 to 10 of 15
Page 1 of 2 12 LastLast
Page 1 of 2 12 LastLast
About ChemistB

Basic Information


Date of Birth
June 15
About ChemistB
Location:
NJ
Interests:
Roleplaying, puzzles, Excel
Occupation:
Ummmm Guess
My Microsoft Office Version:
MS 2007

Signature


ChemistB
My 2¢

Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

Statistics


Total Posts
Total Posts
4,972
Posts Per Day
1.81
Last Post
Error using nested IF statements 12-20-2011 06:10 PM
Visitor Messages
Total Messages
15
Most Recent Message
11-24-2011 09:50 AM
General Information
Last Activity
12-21-2011 04:59 PM
Join Date
08-05-2004

7 Friends

  1. Ashish81 Ashish81 is offline

    Registered User

    Ashish81
  2. Colin Legg Colin Legg is offline

    Forum Guru

    Colin Legg
  3. ras408 ras408 is offline

    Registered User

    ras408
  4. realniceguy5000 realniceguy5000 is offline

    Valued Forum Contributor

    realniceguy5000
  5. SAMEEP SAMEEP is offline

    Registered User

    SAMEEP
  6. Snowmonster Snowmonster is offline

    Registered User

    Snowmonster
  7. tigeravatar tigeravatar is offline

    Valued Forum Contributor

    tigeravatar
Showing Friends 1 to 7 of 7

Search Engine Friendly URLs by vBSEO 3.2.0