ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Using VBA (https://www.excelbanter.com/excel-worksheet-functions/161925-using-vba.html)

Jim Crawford

Using VBA
 
I am trying to write a rule using VBA that will establish the worksheet
direction in excel as left to right. I have found the rule:
Application.DefaultSheetDirection=xlLTR

What I can't figure out is how to use VBA to do this. I have got the
Developer tab on the ribbon when I open excel, but at this point I am lost as
to what to do next.

In other words I need some real basic directions in terms of Go to
Developer, click on Visual Basic, click on Insert (or whatever) etc. etc. I
have tried using the help and how to and guess I just don't get it.

Thanks..........someone
--
Jim

Duke Carey

Using VBA
 
Here's a description of how to get started

http://www.mvps.org/dmcritchie/excel/getstarted.htm


"Jim Crawford" wrote:

I am trying to write a rule using VBA that will establish the worksheet
direction in excel as left to right. I have found the rule:
Application.DefaultSheetDirection=xlLTR

What I can't figure out is how to use VBA to do this. I have got the
Developer tab on the ribbon when I open excel, but at this point I am lost as
to what to do next.

In other words I need some real basic directions in terms of Go to
Developer, click on Visual Basic, click on Insert (or whatever) etc. etc. I
have tried using the help and how to and guess I just don't get it.

Thanks..........someone
--
Jim



All times are GMT +1. The time now is 09:11 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com