Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default Formatting convention for code

Hi everyone,

Please can someone point me to where I can find a guide or something
similiar on formatting code. At the moment I seem to have tabs all over the
place making my code very unreadable (just like my handwriting..or so I'm
told) :-)



Many Thanks

Jim
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,236
Default Formatting convention for code

I have key words which I indent on.

These are
Sub, Function, Property, For, Do, While, If, With, Select, Case

I think that's all of them.

--
Rob van Gelder - http://www.vangelder.co.nz/excel


"Jimbola" wrote in message
...
Hi everyone,

Please can someone point me to where I can find a guide or something
similiar on formatting code. At the moment I seem to have tabs all over
the
place making my code very unreadable (just like my handwriting..or so I'm
told) :-)



Many Thanks

Jim



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Formatting convention for code

Jim,

Many beginner VB books cover naming conventions and formatting. You can
also do a search on google (VBA Naming conventions; vba solid code writing).

I found this site after browsing for only a few seconds:
http://www.geekgirls.com/vba_techniques.htm I think it's what you are
looking for.

Hope this helps

Rob

"Jimbola" wrote in message
...
Hi everyone,

Please can someone point me to where I can find a guide or something
similiar on formatting code. At the moment I seem to have tabs all over
the
place making my code very unreadable (just like my handwriting..or so I'm
told) :-)



Many Thanks

Jim



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use a function to implement a naming convention? bestrada Excel Worksheet Functions 2 January 20th 09 08:06 PM
modified following business day convention Don Excel Worksheet Functions 1 May 17th 07 01:32 PM
Error 49: Bad .dll Calling Convention Jarrett Sadowsky Excel Programming 1 January 20th 04 07:52 PM
Bad DLL Calling Convention (Error 49) Shaikh Excel Programming 3 November 18th 03 10:18 PM
Email using universal naming convention Ken Lawson Excel Programming 0 July 15th 03 10:12 PM


All times are GMT +1. The time now is 05:42 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"