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 SkipVought 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: zishan619
  • Order by date
  1. zishan619

    Help with fso statement

    What is wrong with this statement I keep getting an error invalid path or unknown path sub btnRun_onclick() dim filesys, newfolder, newfolderpath newfolderpath = "..\images\TAS\TAS_PayrollFiles\" & document.all ("cboCC").value & "" set...
  2. zishan619

    FSO Please help

    I have the following: dim fso Dim newfolder Dim strFolder strFolder = "..\images\TAS\TAS_PayrollFiles\" & CCNum & "" set fso=CreateObject("Scripting.FileSystemObject") If Not filesys.FolderExists(strFolder) Then Set newfolder =...
  3. zishan619

    DateTime

    How do i create a timestring with date time and the time being in military time. So far I have TAS_" & year(date())& month(date())& day(date()) & ".xls" But I need it to say 20040211_14:35:37
  4. zishan619

    Link to open up excel

    Hi I have written a code that would create a file and a link that opens up online into excel format. Now the problem is that I need to customize it. For example currently I am suing something like this For each x in rs.Fields strLine = strLine & x.name & chr(9) Next strLine = strLine &...
  5. zishan619

    Postive vs.Negative

    I figured it out thanks I did: 'P/R Code'=(Case When TC.dblHoursW1_PR-TC.dblHoursW1 > 0 Then TC.PayrollID else null end), '(+) Hours'=(Case When TC.dblHoursW1_PR-TC.dblHoursW1 > 0 Then TC.dblHoursW1_PR-TC.dblHoursW1 else null end), 'P/R Code'=(Case When TC.dblHoursW1_PR-TC.dblHoursW1 < 0 Then...
  6. zishan619

    Postive vs.Negative

    Hi I need to write a Case statement in saying if the difference between two fields ends up being a positive number then place in the code and the number the field. Then I will have another field to give me if the difference ends up being a negative number. I have no idea how to start this case...
  7. zishan619

    What is wrong with this statement

    Hi: What is wrong with this statement set f2=fso.CreateFolder (&quot;U:\My Documents\CCNum&quot;,true) I need to create a folder called CCNum in this directory. Does anyone have any good websites on FSO
  8. zishan619

    Importing a text ffile

    Yes I can do that But I need to write it in code instead of doing a import routine from access. But Thanks
  9. zishan619

    Importing a text ffile

    Hi: I have a text file that looks something like this: 0195393417 Jan 31 2004 12:24:03PM Z 0195393808 Jan 31 2004 12:34:11PM Z I need to import this text file into a table using either fso or csv. I do not know how to start this project. Please Help Thanks
  10. zishan619

    Send keys for printing

    Not that I know of if it does can you tell me where?
  11. zishan619

    Send keys for printing

    Microsoft Interdev
  12. zishan619

    Send keys for printing

    Hi I am trying to figure out if there is a way to press a button and print automatically to the setting I need. The report that needs to print has to be setup in the page setup to legal size paper and then automatically print. so far I have this: function ZPrint() window.factory.PageSetup...
  13. zishan619

    Settings please help

    Thank you your website helped me out a lot Bull. Thanks
  14. zishan619

    Settings please help

    Hi I have an asp page that opens a report in excel format using Response.ContentType = &quot;application/vnd.ms-excel&quot; I need to know how can set the columns automatically so that when it opens up it doesn't look all unformatted. Thanks
  15. zishan619

    DateTime conversion

    Hi I need to know how to convert 01/01/2004 12:00:00 pm to 01/01/04 in T-sql. Thanks
  16. zishan619

    Need to loop??Help

    Hey Cool Thanks Mark. I wanted to know does anyone know how to make the columns automatically autofit when the excel document opens up. Cool Thanks
  17. zishan619

    How do you autofit columns in excel when opening from asp

    Hi my aps page opens up an excel document but I need it to autofit the columns and have the row height to 13. How do you do that. So when excel opens up it looks nice and not jumble up. Thanks
  18. zishan619

    Need to loop??Help

    I figured it out thanks it was Chr. Cool
  19. zishan619

    Need to loop??Help

    Hi thank you it looks like it is picking up stuff but the columns are incorrect bascially giving me =sum(662:665) in each column. it should be =sum(A2:A5) For i = 1 To intRowCount strCol = CStr(Asc(&quot;A&quot;) + i) Response.Write &quot;<TH bgcolor=#cccccc> =sum(&quot; & strCol &...
  20. zishan619

    What does it mean when an error occurs stating?

    Thank You PHV it worked. I forgot you can set an array. I was thinking yesterday. Thanks

Part and Inventory Search

Back
Top