Results 1 to 3 of 3
  1. #1
    Bronze Lounger
    Join Date
    Sep 2007
    Posts
    1,203
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I need to populate Range("M1:O1") with the value of =Today() formatted as 29-Aug. How can I do this (in vba).
    Thanks

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts
    Code:
    With Range("M1:O1")
      .Value = Date
      .NumberFormat = "d-mmm"
    End With

  3. #3
    Bronze Lounger
    Join Date
    Sep 2007
    Posts
    1,203
    Thanks
    0
    Thanked 0 Times in 0 Posts
    [quote name='HansV' post='791285' date='29-Aug-2009 15:35']
    Code:
    With Range("M1:O1")
      .Value = Date
      .NumberFormat = "d-mmm"
    End With
    [/quote]

    Thanks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •