best practices

  1. A

    Sub Calling Sub Best Practices

    I'm curious what the community has to say about this: Which option would be considered Best Practice for calling multiple subs? Aside from speed, which I'm not overly concerned about, does one have an advantage over the other? Why? Option A: Sub CallingAllSubs() Call Sub2 Call Sub3...
  2. S

    VBA classes - Difference between Get Property and Function

    This may be a philosophical and/or best-practise question, but what is the difference between the usage of Get properties and functions within a VBA class? For example, a class holding information about people may store the Date of Birth with associated Let and Get properties. Should the...
  3. A

    How to know if I'm using the right data type?

    Hi everyone, I'm using the Currency data type in my current User Defined Function(UDF) Add-In in Excel 2007 VBA to handle monetary values (e.g. salaries). My questions are: 1. So is the Currency data type the BEST data type for handling All monetary values this and if so, why? 2. What are...

Some videos you may like

This Week's Hot Topics

  • Problem with Radio Button's format control
    I am creating an employee evaluation template (a sample is below) Column A is the category Column B, C D, E and F will be ratings (unacceptable...
  • Last Display on userform to a Listbox
    [CODE=vba] lstdisplay.ColumnCount = 15 lstdisplay.RowSource = "A1:O600000" [/CODE] So when i do this it Displays everything on the sheet i am...
  • Rename and move files to a new location
    Dear all, I have an excel file with the following information. The actual file name is at column A but i want to rename it using the following...
  • Help with True/False Formula
    Hello! Am stumped how to fix this formula, in which my result returns 'True', but it should return False. =IF(AG2=True...
  • Clear extra characters from a provided range of cells
    Dear All, I have following code which gives me desired output to remove extra characters from a provided range. But it takes too much time when...
  • Help with Current and highest streaks
    Hi there, I've just joined the forum and this is my first post. I've already spent quite a bit of time searching the net and this forum for a...
Top