Posts by Robert B

    Re: Changing Date Format In Exel


    Hi


    are those that are unchanged different, in any respect, to those that were changed?


    Not having sight of your workbook makes it difficult to be more helpful, could you post a sample?


    Robert

    Re: Update Table


    Hi Scott


    I assume you see a message like "You are about to update (n) Rows" followed by another message that there have been a variety of violations and asking if you wish to proceed. My suggestion is that you say you do wish to proceed.


    If you are running this query in VB the precede the code with


    Code
    Do.Cmd Set Warnings False


    I hope that makes sense and that I have not totally misundersood your question


    Robert

    Re: Update Table


    Hi


    I think you will find that if you select the option to update regardless, the query will have the desired effect


    Robert

    Re: Copy Ranges Certain Number Of Times


    Hi


    Try something like (untested)


    Code
    Dim myRange As Range
    Dim i, n As Integer
    i = InputBox("Enter iterations")
    Set myRange = Range("A1", "D50")
    Do Until n = i
    myRange.Copy Destination:=ActiveCell.End(xlDown).Offset(1, 0)
    n = n + 1
    Loop


    HTH


    Robert

    Re: Primary Keys


    Hi


    I assume you are adding a column to the table to contain the concatenation, in which case use an Update Query to udate the new column to


    [Tbl_Test]![column1] & [Tbl_Test]![column2]


    Robert

    Re: Revise Ebay's Store Fvf Formula


    Hi


    You could uncheck the zero values box in Options or put the whole formula inside another IF statement thus


    =IF("Formula") = 0, "",("Formula"))


    Robert

    Re: Sum Currencies In Same Column


    Hi


    try this code



    This will put the totals in the cells immediately below the last value


    HTH


    Robert

    Re: Import Csv As Text Not General


    Hi


    I have no text files so I can't check this , but I believe that, when importing a text file, the second element of the wizard allows the selection of the field type for each column, at this point can you not choose Text as the format?


    Robert


    Forget that, a .csv file will open directly into Excel, must read question before answering

    Re: Named Range Difficulty


    Hi


    try this (untested)


    Code
    Dim LastRow As Long
    Dim myRange As Range
    LastRow = Range("B6556").End(xlUp)
    
    
    
    
        Set myRange = Range("A1:A" & LastRow)
        ActiveWorkbook.Names.Add Name:="Name", RefersTo:=myRange


    HTH


    Robert