Posts by Imbuzi

    Hi Trees,


    this code should do what you after.




    HTH


    Graeme

    Hi Andy,


    I have managed to find some code on KB that has done the trick...


    just for reference here it is



    Thanks once again for the offer of help


    Graeme

    Hi All,


    The current project I am trying to tackle is as follows.


    I have two email accounts in outlook. What I need to do is specifiy which account Excel needs to use when it sends an email.


    I have been looking at the help files but I seem to be getting no where fast. Does anyone know how I can specify which email account excel is to use at the moment it is just using my default email account.


    TIA


    Graeme

    Hi All


    Does anyone know if it is possible to interface with PDFEdit using VBA. The company I work ofr has recently purchased PDFEdit and know I am being asked if it is possible to automate the pdf file creation.:o


    The main problem that I am having is the fact that they did not even install the Help files:o:o:o:o


    TIA


    Graeme

    Here is the code that I have so far but it keeps on returning an error "Operation must use an updatable query



    SQL
    UPDATE [pasfsprob-Type Data], TranDate SET [pasfsprob-Type Data].TRANS_DT = (SELECT DISTINCT Pasfsdat.TRANS_DT
    FROM Pasfsdat;)
    WHERE ((([pasfsprob-Type Data].TRANS_DT) Is Null));

    All,


    This is what I am attempting to do:


    I have Table A that has the same date stamp on all of the records and I have another Table B that I need to update with the same date stamp.


    What I would like to do is create an update query that will update Table B based on a select distinct from Table A


    Can anyone give me a hand with the syntax.


    TIA Graeme



    p.s. I do have a work around that creates a table with the distinct date record from Table A from which I can then update Table B but I don't think this is the most efficient way of doing things.

    Hi All


    I need to watch for a shell window that is opened by another spreadsheet and start a timer. Then once the shell has closed the timer ends.


    I have managed to find some code that does this but it only works if the code opens the shell.





    TIA


    Graeme

    Hi Epidemic,


    I have been playing around with task scheduler getting it to open an excel session. and I haven't seen the error that you mentioned. The only ideas that I came up with was this. Has your XP Pro machine been locked down by your IT Dept.


    Does your scheduled task open a new session of Excel or is it just openning a workbook.


    Lastly what version of Excel were you running prior to your upgrade.


    Graeme

    Hi All,


    I need some help with the ADDRESS function and a VLOOKUP.


    My problem is as follows I have several sheets all with data in the same cells. What I am attempting to do is to use a vlookup to find the relevant data on the relevant tab.


    The issue that I have is I have been unable to get the ADDRESS function to work within the Vlookup. it works perfectly when I enter it in a seperate cell. But when Input it as the table array in the lookup it returns #value.


    Is this because the Address function returns a string and not a true range reference?


    The Sheet_text in the Address function is the only variable that changes


    TIA


    Graeme

    Weasel,


    You are quite right Peoplesoft is a web based front end to a database.


    There is a SQL query writing interface available in PeopleSoft which allows mere mortals to write SQL however if you are able to write SQL you would find the user interface a bit slow. the information can then be output into Excel or CSV document.


    The other option is to link directly into the Db using ODBC. This will depend on the IT nazis if they give you the access that you need.


    I believe that the SQL Tester Dennis has may be of use to you.


    HTH


    Graeme

    Thanks, Guys for the help...


    I managed to establish that the reason why the workbook was coming up with #Value! was due to the fact the orginal links that were used in a SumIf formula were corrupted (not sure how) anyways I managed to get the file sent to me as values instead.


    Thanks


    Graeme


    :yes: