Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Numbers1
  • Content: Threads
  • Order by date
  1. Numbers1

    Eliminate a portion of the text in an Excel cell

    I downloaded an email list into Excel. The email addresses are numbered but the numbering and the email address are all in 1 cell....A1, A2, etc. There are over 2,000 email addresses and I am looking for VBA script that will take out the numbering in each cell. Info in each cell is as...
  2. Numbers1

    Selecting a range of rows from row 1 to row Variable

    In an Excel Macro I can not figure out how to write the code to identify the range of rows 1 through a preloaded variable row number. Here is what I have so far: Sub Test_data_format() Dim intRowRef As Integer ' row reference of a cell Dim intColRef As Integer ' column reference...
  3. Numbers1

    Calculate number of days using 360 day basis

    Excel has a formula function Days360 which is used to calculate the number of days between 2 dates as if each month had 30 days. It appears this is not available when writing a Macro in Excel. DateDiff uses a 365 day calendar. I am writing a macro in Excel to calculate the accrued interest...
  4. Numbers1

    Calculate number of days using 360 day basis

    Excel has a function Days360 which is used to calculate the number of days between 2 dates as if each month had 30 days. It appears VBA does not have that function. DateDiff uses a 365 day calendar. Does anyone know how to calculate on the basis of a 360 day calendar when finding the number...
  5. Numbers1

    Date calculation on 360 day basis

    Excel has a function Days360 which is used to calculate the number of days between 2 dates as if each month had 30 days. It appears VBA does not have that function. DateDiff uses a 365 day calendar. Does anyone know how to calculate on the basis of a 360 day calendar when finding the number...
  6. Numbers1

    Return a calculated value from a Function Procedure

    Novice at VBA so bear with me. Am trying to convert the number in a variable to another number and have to do this quite often so wrote a Function to do the calculation and return the result to the same variable. Dim intInteger as Integer Sub MainSub() intInteger = 2 Convert (intInteger)...
  7. Numbers1

    Variable in R1C1 formula pasted in Excel worksheet

    Is it possible to place a variable, that is defined in a module, into a formula that is pasted into a cell on a worksheet? Dim intColRef as Interger intColRef = 5 ActiveCell.Offset(0, 6).Range("A1").Select ActiveCell.FormulaR1C1 = "=RC[5]" Instead...
  8. Numbers1

    Remove focus from selection in combo or list box

    I would like to take the focus off of a selection after choosing it in a drop down combo box. The combo box is bound to an Excel worksheet where it obtains the list of items to be displayed. After selecting an item from the list, it is in blue and can be edited. I would like to have the...
  9. Numbers1

    Test if floppy disk is in A drive

    I have created an Excel file in my application that I want to automatically copy to a floppy disk in the A drive. I have a message box (vbOK) come up instructing the user to insert a disk in the A drive but do not know how to check to see if it has been inserted before proceding with the copy...
  10. Numbers1

    Array used in a procedure

    I want a procedure that loads a calling array with the data contained in predefined row and column references of the active spreadsheet. I have gotten this far with the code shown below. When run, the procedure loads the data but does not pass it back to the calling array. What is missing...
  11. Numbers1

    Life of an array

    I have created the following procedure which loads an array using Sub LoadArray. Dim aryFunds () as Variant Dim intCountRow as Integer Dim intCountCol as Integer Dim strCellContents as String aryFunds (ArrayName) Private Sub LoadArray (ByRef ArrayName as Variant) For intCountRow = 1 To 5...
  12. Numbers1

    Maximize user form in Excel app.

    I would like to maximize a user form that I have created for a project that I am developing. There does not appear to be a way to do this in either the properties window or in the upper right corner of the user form. The help instructions refer to minimize, maximize and close but provide no...
  13. Numbers1

    Rows Method in VBA for Excel

    I want to replace specific row references in the Rows Method with variables and can not figure out the format. The format as shown in help is: Rows("10:11").Select This code selects the 10th and 11th rows specifically. I tried using variables instead of the row references as...

Part and Inventory Search

Back
Top