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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by abitslow

  1. abitslow

    .zip not recognised if name changed on download

    SOLVED: thanks again IPGuru - you got me looking in the right place. I was changing the name but the .py which called the unzipper wasn't passing on a new name (if one was entered) from the downloader, just looking for the original from the url.
  2. abitslow

    .zip not recognised if name changed on download

    Thnaks for that IPGuru. To answer your question: The code does successfully change the name of the .zip file as I am testing it using a short .py with a "destfilename" intentionally there for that purpose and the result is a file with "that_new_name.zip" What happens is that it won't then unzip.
  3. abitslow

    .zip not recognised if name changed on download

    I scripted a download and unzip for .zip files. This works with no problem if the name of the .zip remains unchanged. If I try and change the name of the .zip on download then the zipfile.is_zipfile() won't recognise the file as a .zip file [though it still unzips in WinRAR]. I change the name...
  4. abitslow

    Array Trend in Excel

    Brill! Many thanks Skip! Works wonders for data mining.
  5. abitslow

    Array Trend in Excel

    Hi, I'm trying to use named arrays in Excel with the TREND function. I can do a SUM using named arrays to select data, such as {=SUM(IF((Array1="yes")*(Array2="Big"),Array3,""))} Note: {} achieved by Ctrl+Shift+Enter after typing in the formula I'm failing to do a TREND in the same way, such...
  6. abitslow

    Macro to launch Outlook from Excel

    Excellent. Thanks Pink & Jerry. I'll take a look at both.
  7. abitslow

    Macro to launch Outlook from Excel

    Thanks Jerry but unfortunately it still errors: "User-defined type not defined" on the first line!
  8. abitslow

    Macro to launch Outlook from Excel

    I can't seem to work out the code for launching Outlook from Excel. I want to assign a macro to a button which will open a mail message addressed to me. Excel doen't seem to recognise the commands. My attempt so far: Dim olApp As Outlook.Application Dim olMsg As Outlook.MailItem Dim eglAdd As...
  9. abitslow

    SetSourceData syntax for Range in Chart

    That is good sense Skip. I'm afraid my VBA/Excel knowledge is incredibly basic - I'm pretty much at my limit with what I achieved already! I'll go away and have a think on how to do that though, so thanks for the tip.
  10. abitslow

    SetSourceData syntax for Range in Chart

    PHV - Success! Both your suggestions work. Many thanks indeed. Roel - I found PlotBy when I recorded a macro of making the chart. I run Excel 2003. Interestingly, I pasted in your code and it produced a diagonal line across the chart! I'll try and get it to work when I have time. Many thanks...
  11. abitslow

    SetSourceData syntax for Range in Chart

    PHV, the contents of O2 is a number (1742 currently) that is the result of a count of the number of rows in the columns I'm interested in plotting (G:H) and is put there when a previous macro runs. (Hope that makes sense). This doesn't work: Dim LastRow As Long LastRow =...
  12. abitslow

    SetSourceData syntax for Range in Chart

    Thanks both. Still can't get it to work though! Bob, to define it as an integer I just added: Dim LastRow As Integer Jens, your code doen't cause it to go to the debug and highlight the code in yellow (like mine does) but the chart remains blank. I am using a work around by defining the...
  13. abitslow

    SetSourceData syntax for Range in Chart

    Hi, having defined a term "LastRow" for the value of the last row of data in a column, I tried the following which doesn't seem to work. LastRow = Sheets("Grid_ML").Range("O2").Value Sheets("Print_Sheet").Activate ActiveSheet.ChartObjects("Chart 1").Activate ActiveChart.SeriesCollection.Add...
  14. abitslow

    QT.Add Syntax Problem

    Brilliant - worked a treat. Thanks Skip

Part and Inventory Search

Back
Top