About 1,480,000 results
Open links in new tab
  1. Is it possible to declare a public variable in vba and assign a default ...

    the msgbox will show "Hello, word". this way, we get a global variable without any declaration or assignment. it can be used in any Sub or Function. we can define many named range in excel, and …

  2. Function to define a Range - Microsoft Community

    Apr 17, 2012 · Function to define a Range Is there a function or way to define a range in excel via a formula. Using a formula, I would like to determine all of the cells in column A that have a specific …

  3. Excel Define a range based on a cell value - Stack Overflow

    30 Is it possible to define a range based on a value given in a cell. So, for example: My selection is A1:A5 That are five cells. is it possible to let excel determine this by setting a cell value (like B1) to 5. …

  4. VBA: Selecting range by variables - Stack Overflow

    I want to select the formatted range of an Excel sheet. To define the last and first row I use the following functions: lastColumn = ActiveSheet.UsedRange.Column - 1 + ActiveSheet.UsedRange.Columns.

  5. Define Excel's column width with R - Stack Overflow

    There's a conceptual problem with your question. Saving a file as *.csv by definition discards all the formatting information. So when you open such a file in Excel, you get Excel's default column widths. …

  6. Declaring variables in Excel Cells - Stack Overflow

    Is it possible to declare variables in Excel cells and use them as parameters for formulas in other cells? For example I would declare var1=10 in one of the cells. In another cell I would use var...

  7. Are there such things as variables within an Excel formula?

    For newer Excel versions with the ribbon, go to Formulas ribbon -> Define Name. It's the same after that. Also, to use your name, you can do "Use in Formula", right under Define Name, while editing …

  8. How to represent a DateTime in Excel - Stack Overflow

    The underlying data type of a datetime in Excel is a 64-bit floating point number where the length of a day equals 1 and 1st Jan 1900 00:00 equals 1. So 11th June 2009 17:30 is about 39975.72917. If a …

  9. excel - Can an array be declared as a constant? - Stack Overflow

    4 Can an array be declared as a constant? No. Workarounds - Simplest one I can think of is to define a constant with delim and then use Split function to create an array.

  10. Declare and Initialize String Array in VBA - Stack Overflow

    The problem here is that the length of your array is undefined, and this confuses VBA if the array is explicitly defined as a string. Variants, however, seem to be able to resize as needed (because they …