Excel Cursor

F

Frank

Hello, how do I make this take effect everytime I start Excel? Thanks in
advance.

Sub cursor()
Application.cursor = xlNorthwestArrow
End Sub

change it back to normal with xlDefault
 
M

Mike H

Frank

Put it in the workbook_open event
Alt+F11
Double click this workbook
and paste in

Private Sub Workbook_Open()
Application.cursor = xlNorthwestArrow
End Sub

Mike
 
G

Gord Dibben

Frank

You cannot run a macro from the command line when starting Excel.

You would have to place the code into Workbook_Open sub in the first workbook
you open.

Maybe in your Personal.xls file which opens with Excel.

Sub Workbook_Open()
Application.cursor = xlNorthwestArrow
End Sub


Gord Dibben MS Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top