Search results

  1. chergh

    Activate Open Excel file

    This will open two workbooks and you can refer to them as wb1 and wb2. Public Sub FormatExcelSheet() ' removes excess row data from spreadsheet Dim AppExcel As Object dim wb1 as object dim wb2 as object Set AppExcel = CreateObject("Excel.Application") set wb1 =...
  2. chergh

    Activate Open Excel file

    Remove the code that closes the book and then you can keep referring to it.
  3. chergh

    Export To From Access 03 to Excel using VBA

    You also don't say why the code you found in the repository wasn't quite what you were looking for.
  4. chergh

    Export To From Access 03 to Excel using VBA

    Wow not heard of anyone wanting to do that before. Try this
  5. chergh

    Petition to remove rep points from the forum

    Or you could appoint more moderators or open up editing posts etc. to the vip group. I've seen what I suggested work elsewhere, they don't pay their moderators and their boards are busier than these boards.
  6. chergh

    Petition to remove rep points from the forum

    Meh, who cares about posts or reps. How about a petition for site mods to start enforcing decent thread titles and use of code boxes?
  7. chergh

    graphs to excel

    Just the excel object library I think.
  8. chergh

    Access VBA manipulate UK Postcodes

    What you're doing really isnt that hard. Split function to split the postcode into 2 halves For the first half parse the string until you come to a numeric value thats the first part you need. The remainder of the string is the second part you need. For the second half parse the string until...
  9. chergh

    Access VBA manipulate UK Postcodes

    This should work for the first half. Sub blah() Dim i As Long Dim firstquarter As String Dim secondquarter As String strString = "M27" i = 1 Do While IsNumeric(Mid(strString, i, 1)) = False firstquarter = quarter & Mid(strString, i, 1) i = i + 1 Loop secondquarter =...
  10. chergh

    graphs to excel

    here's soem code I worte a while ago: Sub CreateGraph(ws as excel.worksheet, cht_sourcedata As Excel.Range, cht_title As String, _ x_name As String, y_name As String, xlapp As Excel.Application) Dim cht As Excel.Chart Set cht = xlapp.Charts.Add With cht .ChartType =...
  11. chergh

    Access VBA manipulate UK Postcodes

    Wow sounds like an ill thought out requirement. Best bet would be to use the "split" function with the space as a delimiter and then use the code you have to divide the two halfs you will get returned from the split function.
  12. chergh

    Access VBA manipulate UK Postcodes

    Whats the objective here? Are you trying to validate that postcodes are valid or something?
  13. chergh

    Who is the best Rock n Roll Drummer of all time?

    Yeah he can act in any role as long as it is a fat bloke from london.
  14. chergh

    Who is the best Rock n Roll Drummer of all time?

    Dave Grohl, undoubtedly the best drummer I have ever seen and he can sing and play guitar to boot.
  15. chergh

    Continued theology discussion... Not sure what to call this really....

    I can't see any. If it is there you can point it out to me That doesn't make it any more likely that god exists No there really won't be. Ah so if I start wanting to hear imaginary things then I will hear imaginary things... explains a lot It must be true then:rolleyes:
  16. chergh

    Continued theology discussion... Not sure what to call this really....

    Ahh you're hedging your bets. Doesn't the big sky fairy know this so he will kick your ass anyway? or does he not care why you worship him just that you do? I'll try and live a good life but not because some fairy says so rather that its the right thing to do, I really feel sorry for those who...
  17. chergh

    Continued theology discussion... Not sure what to call this really....

    If the theists would just keep their superstitions to themselves instead of trying to get them enshrined in law no one would care in the slightest about what you believed.
Back
Top Bottom