Search:

Type: Posts; User: MartinLiss

Page 1 of 13 1 2 3 4

Search: Search took 0.47 seconds.

  1. Re: Automatic replacement of current workbook

    Thanks.
  2. Re: Automatic replacement of current workbook

    Thanks Sid that works. You say that "One can also automate this". How would that be done.

    BTW I don't know if it's better, the same, or worse but I get the temp path with this one-liner
    ...
  3. Re: Automatic replacement of current workbook

    Thanks Sid. I'm on my way out the door and I'll try that code when I get back later today.
  4. Re: Automatic replacement of current workbook

    A server for which I have the path.
  5. Re: Automatic replacement of current workbook

    I don't think we are communicating too well. The situation is this. The user is using the current version of the workbook that I'll call wbOld and there's an existing workbook which I'll call wbNew...
  6. Replies
    10
    Views
    2,230

    Re: Deployment Error

    You replied to a 2 1/2 year old thread.
  7. Re: Automatic replacement of current workbook

    They'll get version 26 manually but from then on it will be automatic since version 26 and all future versions will contain the code you write for me:)
  8. Re: Automatic replacement of current workbook

    Okay. Unlike VB6, Excel doesn't seem to have an application version number so I just added a constant in the workbook with a value of, say, 25. In the Access database there's a table that contains a...
  9. [RESOLVED] Automatic replacement of current workbook

    I have an Excel workbook where there's a version check done on open against a master database and if the versions don't match the user is told to download the latest version of the workbook from the...
  10. Replies
    2
    Views
    207

    Re: Using DatePart in SQL

    I worked it out a different way.
  11. Replies
    2
    Views
    207

    [RESOLVED] Using DatePart in SQL

    I have a table called Requests and I'd like to return values grouped by the month value of a field named 'Sentdate' which is formatted in the database as a General Date. I tried the following but gat...
  12. Replies
    3
    Views
    181

    Re: Access Group By

    Got it

    MsgBox rs.Fields(0)

    Thanks.
  13. Replies
    3
    Views
    181

    Re: Access Group By

    Okay I did this. How do I display the count?


    .Open "SELECT count(*), SentDate FROM Requests group by SentDate", cn, adOpenDynamic, adLockOptimistic
    .MoveFirst
    Do While Not .EOF
    MsgBox...
  14. Replies
    3
    Views
    181

    [RESOLVED] Access Group By

    I have a table called Requests and I'd like to return values grouped by a field named 'Sentdate'. I tried the following but got a recordcount of -1. What am I doing wrong?

    rs.Open "SELECT...
  15. Re: Select with multiple conditions

    Never mind, there was a quote at the end.
  16. Re: Select with multiple conditions

    Thanks but it's a syntax error not a wrong result and in any case this (where I've just duplicated the working part) isn't correct either


    .Open "SELECT * FROM Requests where RequestType = '"...
  17. [RESOLVED] Select with multiple conditions

    I have some code where this works fine



    With rs
    .Open "SELECT * FROM Requests where RequestType = '" & Cells(Target.Row, 1) & "'", cn, adOpenKeyset, adLockOptimistic, adCmdText

    ...
  18. MsOf10 Re: Accessing Access DB Without Access

    Thanks everyone.
  19. MsOf10 Re: Accessing Access DB Without Access

    @sid: All will be Windows PCs but I don't know if the operating systems are consistent. I can find out though. BTW I love the logo in your signature.
    @westconn1: I'll look into the Visual Data...
  20. MsOf10 Re: Accessing Access DB Without Access

    Strangely accdb seems to be the only choice.
  21. MsOf10 Re: Accessing Access DB Without Access

    1 to 3: Yes that's exactly want I want to do and other than the apparently non-trivial task of actually opening the database (read on) I'm sure I can do it with ADO. As for my other similar thread I...
  22. MsOf10 [RESOLVED] Accessing Access DB Without Access

    It's been ages since I've done anything with Access but I seem to remember that I should be able to read/write to an Access database as long as that's all I want to do and I don't need reports or...
  23. Re: Read/Write from/to an Access database for users who don't have Access

    Yes, I want to store to a database and track the status of transactions that are generated from an Excel workbook. I at first thought of using a shared workbook as the database to store the...
  24. [RESOLVED] Read/Write from/to an Access database for users who don't have Access

    I'd like to use Access to store data that can be read from and written to by multiple users of Excel at the same time without the users having to have Access installed. How can I do that?
  25. MsOf10 Re: Determine selected in form control listbox

    Thanks.
  26. MsOf10 [RESOLVED] Determine selected in form control listbox

    I have a form control (not ActiveX) listbox on a sheet that has 'Selection Type' set to 'Extend'. How do I determine which entries are selected?
  27. Replies
    2
    Views
    431

    Re: Excel VBA Add-in

    Okay, mistake number 1. I want to make an add-in for the VBA IDE but the above shows up in the Add-ins tab of the workbook.
  28. Replies
    2
    Views
    431

    [RESOLVED] Excel VBA Add-in

    I'm trying to write my first add-in for VBA. I have this code and it runs without error. Stepping through it the second time cbrWiz is not Nothing which says that it exists, but i don't see it either...
  29. Re: Can't get WORD CHECK SPELLING window to be ON TOP always

    Life is tough.
  30. Re: Can't get WORD CHECK SPELLING window to be ON TOP always

    It looks like the code is based on my Spell Check a Textbox that I mentioned above. Take a look at that code and see what's different.
  31. Replies
    9
    Views
    594

    Re: Helium balloon question

    I understand better what's happening now but let me amend the question since my description of the "thought experiment" unintentionally added a factor that is, I believe, adversely affecting some...
  32. Replies
    9
    Views
    594

    Re: Helium balloon question

    So a few feet of air makes that much difference?
  33. Replies
    9
    Views
    594

    Re: Helium balloon question

    The string doesn't touch the floor until it sinks below 5 feet.
  34. Replies
    9
    Views
    594

    Helium balloon question

    I guess I'm getting (too) old but I just can't wrap my head around this.

    Imagine a mylar party balloon that's filled with helium and which is attached to a 10 foot string. At the end of the string...
  35. Re: [RESOLVED] Excel Range of Cells selection doesn't work

    Si (or westconn1), I'm getting back to this and I find that I'm still confused. Can you show me a complete set of code that specifies both the source and destination sheets?
  36. Replies
    2
    Views
    343

    Re: Thread Tools?

    Thanks. For the life of me I couldn't find the Thread Tools menu.
  37. Replies
    2
    Views
    343

    [RESOLVED] Thread Tools?

    Where is Thread Tools|Mark this thread resolved these days?
  38. Re: Excel Range of Cells selection doesn't work

    ActiveSheet.Range(ActiveSheet.Cells(4, 8), ActiveSheet.Cells(10, 8)).Select

    Thanks Si, I'm sure that's it. In my code I bounce around between sheets and I ran into other places where after...
  39. Re: Excel Range of Cells selection doesn't work

    What do you mean when you say "fully qualify"? And why is the Range Cells index method different from the Range A1 method?
  40. Re: Excel Range of Cells selection doesn't work

    The cells of the active sheet of an Excel workbook.
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4