+ Reply to Thread
Results 1 to 2 of 2

code an input field that asks for current date

  1. #1
    jaggyone
    Guest

    code an input field that asks for current date

    I would like to create a macro that will ask for the current date and input
    the value into the header of a weekly report. How do I do this?

    Thanks in advance,
    jag

  2. #2
    chijanzen
    Guest

    RE: code an input field that asks for current date

    jaggyone:

    try,

    Range("A1") = CDate(VBA.InputBox("Input current date", Default:=Date))

    --
    天行健,君*以自強不息
    地勢坤,君*以厚德載物

    http://www.vba.com.tw/plog/


    "jaggyone" wrote:

    > I would like to create a macro that will ask for the current date and input
    > the value into the header of a weekly report. How do I do this?
    >
    > Thanks in advance,
    > jag


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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