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

16y 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.


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 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.


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.


Can run access or excel macro codes on pdf files?

Yes! you can!


How many lines of macro code an excel sheet accept?

3


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

macro virus


What is the name of the custom toolbar where where you can attach your own macro?

In Excel 2013 what is the name of the custom toolbar where you can attach your own macro buttons


You have recorded a macro. By mistake you recorded an action in it which you do not want. How will you remove the unwanted action without having to record the whole macro again?

All you need to do is edit the macro and remove the section you do not want in the macro. Excel 2007: From the Developer tab on the Menu ribbon, click on the Visual Basic icon in the Code section. See related links for a detailed tutor on how to edit an Excel macro.