Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
It won't work if the user doesn't enable macros when prompted
put it in ThisWorkbook module, it will put whatever you put in that input box in sheet1 cell A1 Option Explicit Private Sub Workbook_Open() Dim vDate As String vDate = InputBox("Please type in a date") Worksheets("Sheet1").Range("A1") = vDate End Sub -- Regards, Peo Sjoblom http://nwexcelsolutions.com "sdmccabe" wrote in message ... Is it possible to prompt a user for an input (date) when a spreadsheet is opened, and save that value in a cell? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do you avoid window that prompts to enable auto query refresh | Excel Discussion (Misc queries) | |||
When saving CSV excel always prompts about the file format | Excel Discussion (Misc queries) | |||
How do i set up a range of numbers which prompts at a particular n | Excel Discussion (Misc queries) | |||
Import from Access query with prompts | Excel Discussion (Misc queries) | |||
formula prompts | Excel Discussion (Misc queries) |