answersLogoWhite

0

The following is a record macro copied into the workbook open section of the workbooks properties. Enters date in a1 Private Sub Workbook_Open()

Range("a1").Activate

ActiveCell.FormulaR1C1 = Now()

Selection.NumberFormat = "dd/mm/yyyy;@"

End Sub The macro run's it's self when the file opens

User Avatar

Wiki User

17y ago

What else can I help you with?

Related Questions

Create Auto save macro in Excel?

In XLS 2003 you can simply turn the "Save AutoRecovery info" in EXCEL (Tools/Options/Save)


How do you get merged cells to auto height with out a macro in Excel?

I don't know about Excel 2007 but in 2003 you cannot do it with a macro. An inherent feature constratint of Excel 2003.


What virus attaches to documents such as word or excel files?

Macro viruses use Microsoft Word and Excel's capabilities to embed code and programs into the document. When the document is opened, the macro virus is executed and infects your computer.


What is necessary step to create a macro?

To create a macro, you first need to access the macro recording feature in your software, such as Microsoft Excel or Word. Next, enable the macro recorder and perform the sequence of actions you want to automate. Once finished, stop the recording, and optionally, you can assign a shortcut key or button for easy access. Finally, save the macro for future use to streamline repetitive tasks.


How can you create a macro in Excel that saves the day's income in a workbook and then creates a new workbook every week?

how am i surpose to no?? go on the internet and find out for your self !!


What command interrupts the execution of a macro before completion in excel?

In Excel, you can interrupt the execution of a macro by pressing the "Esc" key. If the macro is running a lengthy operation, pressing "Esc" might prompt a dialog asking if you want to stop the macro. Alternatively, you can press "Ctrl" + "Break" (or "Ctrl" + "Pause") to halt the macro immediately.


I just want my users to be able to hit a macro button instead of a shortcut key so how can I create a macro button in Excel 2003 without having to buy separate software?

Draw a button on your sheet, by going to the View menu and picking Toobars and then the Forms toolbar and drawing your button. It will immediately ask you to connect a macro to it and then you can choose your macro. Then when the button is clicked the macro will run.


What are two words an Excel macro ends with?

End Sub.


What program is used to create and modify spreadsheets on Excel Answer It?

Microsoft Excel is used to create and modify spreadsheets.Microsoft Excel is used to create and modify spreadsheets.Microsoft Excel is used to create and modify spreadsheets.Microsoft Excel is used to create and modify spreadsheets.Microsoft Excel is used to create and modify spreadsheets.Microsoft Excel is used to create and modify spreadsheets.Microsoft Excel is used to create and modify spreadsheets.Microsoft Excel is used to create and modify spreadsheets.Microsoft Excel is used to create and modify spreadsheets.Microsoft Excel is used to create and modify spreadsheets.Microsoft Excel is used to create and modify spreadsheets.


WHAT a virus that is attached to documents such as Word or Excel files?

macro virus


Can run access or excel macro codes on pdf files?

Yes! you can!


How many lines of macro code an excel sheet accept?

3