• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Recent content by jdmaybee

  1. J

    Using Named Cells to Define a Print Range

    Wow! Does that ever work!! As an old Lotus user I could literally write a macro by copying all the key strokes I used and bingo I had a macro. I had the (what turns out to be very unrealistic) idea I could figure out how to do this on my own! Just out of curiosity do you know how to name a...
  2. J

    Using Named Cells to Define a Print Range

    It's a bit more difficult than that - that's why I named the two ranges I want to use to define the area - one day it will be A240 to M820 - the next it will A320 to M900. I want to be able to define a print range using the Topleft and Bottomright range names.
  3. J

    Old Lotus user

    Thanks! That helped - it's amazing how something simple like that is so hard to find in all the VBA manuals I have...
  4. J

    Using Named Cells to Define a Print Range

    I use Excel to import a recievables report from another piece of software. As you can appreciate it is not the same each time I import it. I have written a macro that does everything I want it to except define a range using a range name I define as Topleft (for say, cell A240) and Bottomright...
  5. J

    Old Lotus user

    I wrote phenomenal macros in Lotus 1-2-3 and yet I find the simplest things almost impossible to find in all my VBA manuals. I am constantly importing a file from another package - before it's any good to me I have to remove copius rows of blank cells and sort the result so I can manipulate...
  6. J

    Use Visual Basic to fill a range in a column with numbers

    I decided to see how the other autofill techniques worked and ran the following: Sub FormatFill() ' ' FormatFill Macro ' Macro recorded 6/29/2011 by John D. Maybee ' Range("E1").Select Selection.AutoFill Destination:=Range("E5:E15"), Type:=xlFillFormats End Sub The first time it...
  7. J

    Use Visual Basic to fill a range in a column with numbers

    Thank you so much! I joined your forum from home so can't get you at work so I spent the whole day trying to understand how this works and in five minutes with your help I'm on my way!! Can I have two user accounts for the forum?
  8. J

    Use Visual Basic to fill a range in a column with numbers

    As an old Lotus user much of my thinking is based on the way it worked. I have used Excel for some time now and know about the little black square I can use to drag a progression of numbers down to whatever I like, but how do I write the proceedure in a macro?
  9. J

    Culling similar dates from a series

    I don't get this I tried Hui's solution =SUMPRODUCT(1*(MONTH(A1:A20)=3)) again just a few minutes ago and it worked like a dream! What do you suppose is going on here??
  10. J

    Culling similar dates from a series

    I tried Hui's suggestion and for some reason got a Value error. I am mystified why because the logic looks flawless. If you have any idea why I would be heavily indebted to you. I am using Excel 2002 if that has anything to do with it. Luke's response =SUMPRODUCT(--(TEXT(A7:A180,"mmm")="Mar"))...
  11. J

    Culling similar dates from a series

    I have tried both of the following: =SUMPRODUCT((A7:A180>=DATE(yr,month, day))*(A7:A180<=DATE(yr,month, day))) =SUMPRODUCT(--(A7:A180>=DATE(yr,month, day))*(A7:A180<=DATE(yr,month, day))) The dates are Excel dates in this format: 01/05/11 to 03/05/11
  12. J

    What happened?

    I asked two questions yesterday and got repsonses to each of them. The first almost worked but I got a Name error when applying it and had written back to see why that happened. The other was how to format my numbers so the negatives showed in red as (1,000.00). Fortunately I printed out the...
  13. J

    Culling similar dates from a series

    Thanks again. Now I get a #Name? error message - what could be causing that? Am I doing something wrong?
Back
Top