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 TouchToneTommy 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 dalex17

  1. dalex17

    delete (Kill) statement

    Hello, I am using Cognos script Editor to save an excel report with format. I am accomplishing this by using SendKeys. However, I find that sometimes the use of Sendkeys does not copy over any existing occurences of the excel file I'd like to copy over. So I read somewhere in this forum that...
  2. dalex17

    Scheduler Macro Excel Format export

    DrLex, I used your send key reccomendation, but I am experiencing an issue where sometimes it saves over the document and sometimes it does not. Is there a way to work around this. In other dialogs, D. Griffin suggests a 'Kill stmt" ....would you be able to give me an example of a kill...
  3. dalex17

    Saving Impromptu Report in Excel with format

    Dave, Could you please give me an example of code that will search and kill the existence of a file?? Thank you, dalex
  4. dalex17

    Save 'with format' when using Cognos script editor

    DRLX, Is the export with format command as you write it above (i.e. exportwithformat), or does it look different in syntax? Thanks, Dalex
  5. dalex17

    saving a text file from one path to another with timestamp

    Could you point to where Projects->references is located? I do not see it in Projects Explorer...
  6. dalex17

    saving a text file from one path to another with timestamp

    Thank you BB, however it now does not like: fso As New filesystemobject dalex
  7. dalex17

    saving a text file from one path to another with timestamp

    BB, This is what I have. I get an error on the second part below beggining with Set ts Also, whay did you write ".exe file I am currently running" My objective to copy a text file to anther location. Thanks again. Dim fso As New filesystemobject Dim ts As textstring Dim...
  8. dalex17

    saving a text file from one path to another with timestamp

    Thanks Bigger brother, Could you clarify where my new path should be typed in your second statement beggining with set ts (after the first ts close). Thank you!
  9. dalex17

    saving a text file from one path to another with timestamp

    Good afternoon, I need assistance with a VB code that will copy a .txt file from one location to another. The catch is, however, that I need the copied .txt (that is, the new .txt file that copied into another location), to end with a time stamp. Here is an example of what I mean...
  10. dalex17

    shell command to open an .xls file does not work

    drlex, I appreciate your response. I would like to try to call excel as an object. Could you show me pointeres on how to get this started? Thank you dalex
  11. dalex17

    shell command to open an .xls file does not work

    Hello, At the very end of my cognos script, I have a command which should open an excel file: Shell ("C:\Program files\Microsoft Office\Office10\excel.exe /Y Y:\Standard Reports\Acc dept\test.xls") The problem I am having is that it cannot read the file pathname 'Standard Reports'...
  12. dalex17

    Can Cognos Script Editor run a .bat file

    Navshiv, Thank you. This is very helpful! Dalex
  13. dalex17

    Can Cognos Script Editor run a .bat file

    You guys are terrific! Thanks for your assistance. P.S. Is there anything "cool" that can be done with Cognos script editor? I mean like a progress bar or something? Really anything that might add a cherry on top. It's no big deal because I have everything working; just thought...
  14. dalex17

    Save 'with format' when using Cognos script editor

    thanks drlex for your help! p.s. Kludge? Never heard of that word. I'm guessing it must mean something similiar to concoction... :)
  15. dalex17

    Can Cognos Script Editor run a .bat file

    Flex, I figured it out. The reason why it didn't work properly was because the macro didn't like the file name 'New Folder'. In particular, it did not like the space between 'New' and 'Folder' for some reason. I know this because when I changed the name of that folder to just 'folder' 9one...

Part and Inventory Search

Back
Top