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

Search results for query: *

  • Users: cassidybklyn
  • Order by date
  1. cassidybklyn

    Report headers in Excel report not printing.

    Thanks. That did it. Stars (*****) for you. Cassidy
  2. cassidybklyn

    Report headers in Excel report not printing.

    Gentlement, I have some weired stuff going on with my VB6/Excel module. The first time through, my program ran and produced the desired spreadsheet with the headings and all. But subsequent runs do not produce the same result. After the spreadsheet is generated and made visible, when I click...
  3. cassidybklyn

    Run-time error 9 - Subscript out of range

    Sorry guys. Ignore my last post: I forgot to include MS Excel 9.0 object library in my references. Thanks again.
  4. cassidybklyn

    Run-time error 9 - Subscript out of range

    Yes, there's already an existing (template) "workbook", which I already opened here: Set xlWbk = xlApp.Workbooks.Open("C:\BiWeeklyPeriod.xls") However, as I'm stepping through the codes, I got RT-Error 424 (Object required) on the third line below: xlWksht.Activate...
  5. cassidybklyn

    Run-time error 9 - Subscript out of range

    Guys, there's an already existing spreadsheet, so my intension is to open it as thus: "C:\BiWeeklyPeriod.xls" then refer to or use the same opened sheet for data collection. Thanks. C.
  6. cassidybklyn

    Run-time error 9 - Subscript out of range

    Gentlemen, I am executing the following VB6/Excel: Dim xlApp As Object Dim xlWbk As Object Dim xlWksht As Object Set xlApp = CreateObject("Excel.Application") Set xlWbk = xlApp.Workbooks.Open("C:\BiWeeklyPeriod.xls") Set xlWksht = xlWbk.Worksheets("Sheet1") <======= this line Then I got the...
  7. cassidybklyn

    How to insert/center multiple page header in a spreadsheet using vb6.

    Thanks a million guys. I got it. I did the trick you taught me earlier by recording a Macro and tweaking it. Cassidy.
  8. cassidybklyn

    How to insert/center multiple page header in a spreadsheet using vb6.

    How everyone, how can I insert and center multiple page header in excel spreadsheet. I intend to use: With Activesheet.PageSetup .CenterHeader = "&""Arial,Bold"" NEW YORK CITY TRANSIT AUTHORITY " Telecommunication and Information Services Division Project Tracking System...
  9. cassidybklyn

    How to select an unspecified range in a worksheet

    Thanks guys. I'll try it out on monday in the office. Enjoy your weekend. Cassidy.
  10. cassidybklyn

    How to select an unspecified range in a worksheet

    Hi everybody, I working with vb6 and I currenlty have a spreadsheet with data up to the range of (A2:G143) that requires sorting. But I do not want to hard code this range because the range of data in the spreadsheet may change at anytime (either more data or less data). How can I tell it to...
  11. cassidybklyn

    How to display blank date on a VB form.

    Thanks Skip I see what you mean, but some "Dope" want to be able to see "_/_/2007" in the textbox whenever the date field is blank, so I'm gonna embed "_/_/2007" as a default string to show in the textbox. Thanks man. Cassidy.
  12. cassidybklyn

    How to display blank date on a VB form.

    Hi Skip, I don't understand what you mean by 3 textboxes. Could you please clarify? Basicly I want the form to default to "_/_/2007" until the user enters a desired date. Thanks. Cassidy
  13. cassidybklyn

    How to display blank date on a VB form.

    Good morning all, is there a format or way of displaying a blank on a form control (textbox)? For example, If a date field is blank, I want to display "_/_/2007". Thanks. Cassidy
  14. cassidybklyn

    Spreadsheet count and Totals printing on separate pages.

    Skip, I sorta figured out something I was doing wrong. When I did the count, I grouped by a field (L3) and when I did the sum, I also grouped by the Check amount field and I was also page breaking on both fields. So I subsequently removed the second group by clause/pagebreak and now both Count...
  15. cassidybklyn

    Spreadsheet count and Totals printing on separate pages.

    Hi Skip, Yes, you are correct; the total appears on one page and the count appears on the next page for the same item, because I am doing grouping. However, I am not using the Data>Subtotal feature of Excel. I am doing all processing thru VB code: Here is my code: With xlApp...
  16. cassidybklyn

    Spreadsheet count and Totals printing on separate pages.

    Hello everyone, I need your assistance: I am runing VB 6.0. I created a spreadsheet from access table. Everything is working fine, except that I am generating both Total and count, but when I print the spreadsheet, the count prints on one page and the total prints on the next page. How can...
  17. cassidybklyn

    Export Excel spreadsheet to access table

    Thanks guys, after much tweaking, it worked like a charm, just as you said. Thanks and STARS for y'all. Cassidy.
  18. cassidybklyn

    Export Excel spreadsheet to access table

    No I just did a straight "DoCmd" as I'm in access environment. I guess that was wrong huh?
  19. cassidybklyn

    Export Excel spreadsheet to access table

    Thanks PHV, I instantiated the access object as such: Dim AccObj As object Set AccObj = CreateObject("Access.Application") Then I called the DoCmd, but I still got the same message: Object required. What am I doing wrong?
  20. cassidybklyn

    Export Excel spreadsheet to access table

    Okay. but I'm running VB 6.0. How can I tweak it? Thanks. C.

Part and Inventory Search

Back
Top