Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: PCDMIS to Excel Issue-DMIS closing Excel after export

  1. #1
    Senior Member
    • Additional Information
      • Years CMM Experience:
      • 6
      • Software Version:
      • 4.3
      • Machine Type:
      • Brown & Sharp-Global Status 7.7.7
      • Location:
      • Mansfield, Oh
      • Job Function:
      • Quality Engineer

    Join Date
    Dec 2006
    Location
    Mansfield, Oh
    Posts
    123

    Angry PCDMIS to Excel Issue-DMIS closing Excel after export

    Does anyone know how to keep PC-Dmis from closing Excel after exporting the dimensional results?

    Aaron Fenner
    Quality Engineer
    PC-Dmis v4.3
    B & S Global Status 7.7.7
    6 years xp 32-bit


  2. #2

    Default

    Quote Originally Posted by afenner View Post
    Does anyone know how to keep PC-Dmis from closing Excel after exporting the dimensional results?
    There are multiple programs to use Excel with PC-DMIS, which one are you using? When did you download it? Have you modified it at all?
    "You may be right, I may be crazy. . ." - Billy Joel

  3. #3
    PC-DMIS Guru
    • Additional Information
      • Years CMM Experience:
      • Since 1998
      • Software Version:
      • 3.2063 & 3.7
      • Machine Type:
      • B&S (Excel 7-10-7, MicroExcel PFX 4-5-4, One 7-10-7)
      • Location:
      • Elmira, NY
      • Job Function:
      • Quality Engineer
    craiger_ny's Avatar
    Join Date
    Apr 2006
    Location
    Elmira, NY
    Posts
    2,753

    Default

    Is there an excel object .quit or any kill statements in the code? Post the code and I am sure someone can nail it right away.
    Annoying the masses one innocent person at a time

  4. #4

    Default

    If you are talking about the Wizard, you need to open it with the VB editor. Go to the ProgressForm code, line 1272, you should see this -

    Closing:
    ExcelWorkbook.Save
    ExcelWorkbook.Close
    Set ExcelWorkbook = Nothing
    ExcelApp.Quit
    Set ExcelApp = Nothing

    Comment out the 4 lines that actually do the closing -

    Closing:
    ExcelWorkbook.Save
    ' ExcelWorkbook.Close
    ' Set ExcelWorkbook = Nothing
    ' ExcelApp.Quit
    ' Set ExcelApp = Nothing


    Whatever utility you are using, as Craiger_NY says, you should see something like the above.
    "You may be right, I may be crazy. . ." - Billy Joel

  5. #5
    Senior Member
    • Additional Information
      • Years CMM Experience:
      • 6
      • Software Version:
      • 4.3
      • Machine Type:
      • Brown & Sharp-Global Status 7.7.7
      • Location:
      • Mansfield, Oh
      • Job Function:
      • Quality Engineer

    Join Date
    Dec 2006
    Location
    Mansfield, Oh
    Posts
    123

    Default

    I am using the wizard....I will try to edit it like Don has stated...I think I can do that...I'll keep ya posted....

    Thanks guys

    Aaron Fenner
    Quality Engineer
    PC-Dmis v4.3
    B & S Global Status 7.7.7
    6 years xp 32-bit


  6. #6
    Senior Member
    • Additional Information
      • Years CMM Experience:
      • 6
      • Software Version:
      • 4.3
      • Machine Type:
      • Brown & Sharp-Global Status 7.7.7
      • Location:
      • Mansfield, Oh
      • Job Function:
      • Quality Engineer

    Join Date
    Dec 2006
    Location
    Mansfield, Oh
    Posts
    123

    Default

    Well, I don't think it editing out the comments worked, unless I didn't do it correctly, which is highly possible.

    Is that an apostrophe that comments out the lines? Or that little mark on the ~ button on the keyboard? I tried using both symbols, but neither seemed to work.

    DMIS still closes Excel and every document in it, once I hit the finish button for the wizard.

    It should be noted that I used Wordpad to edit the file. I'm going to now try it using VB Express. Maybe that has something to do with it.

    The issue is still open
    Last edited by afenner; 11-08-2007 at 11:49 AM.

    Aaron Fenner
    Quality Engineer
    PC-Dmis v4.3
    B & S Global Status 7.7.7
    6 years xp 32-bit


  7. #7

    Default

    Sorry, I left out some additional detail. First, it is an apostrophe.

    When you are done editing, you need tobuild an executable from it. Then you need to place the executable into the Wizards folder, replace the existing one or make a new one (new name, new icon, etc.), your choice. You need to do all this with VB.
    "You may be right, I may be crazy. . ." - Billy Joel

  8. #8
    Senior Member
    • Additional Information
      • Years CMM Experience:
      • 6
      • Software Version:
      • 4.3
      • Machine Type:
      • Brown & Sharp-Global Status 7.7.7
      • Location:
      • Mansfield, Oh
      • Job Function:
      • Quality Engineer

    Join Date
    Dec 2006
    Location
    Mansfield, Oh
    Posts
    123

    Default

    Yup, those seem like some important details to me

    Thanks, I'll work on it..

    Aaron Fenner
    Quality Engineer
    PC-Dmis v4.3
    B & S Global Status 7.7.7
    6 years xp 32-bit


  9. #9
    Senior Member
    • Additional Information
      • Years CMM Experience:
      • 6
      • Software Version:
      • 4.3
      • Machine Type:
      • Brown & Sharp-Global Status 7.7.7
      • Location:
      • Mansfield, Oh
      • Job Function:
      • Quality Engineer

    Join Date
    Dec 2006
    Location
    Mansfield, Oh
    Posts
    123

    Default

    I'm not sure how to build an .exe file out of it....is there a short version of the instructions for that? Can VB do it or do I need another program?

    Aaron Fenner
    Quality Engineer
    PC-Dmis v4.3
    B & S Global Status 7.7.7
    6 years xp 32-bit


  10. #10

    Default

    In VB6, you go to File (on the menu) and about 2/3 of the way down you'll find a "Make .Exe" option.
    "You may be right, I may be crazy. . ." - Billy Joel

Similar Threads

  1. Export to excel
    By adamclinard in forum PC-DMIS for CMMs
    Replies: 4
    Last Post: 12-12-2007, 12:34 PM
  2. Excel Export Wizard
    By John Kugler in forum PC-DMIS for CMMs
    Replies: 4
    Last Post: 11-28-2007, 11:57 AM
  3. Export Report to Excel
    By Gary Fitzgerald in forum PC-DMIS for CMMs
    Replies: 10
    Last Post: 03-30-2007, 07:48 AM
  4. export to excel??
    By jimbob in forum PC-DMIS for CMMs
    Replies: 26
    Last Post: 11-30-2006, 05:59 PM
  5. PcDMIS to Excel
    By Chuck Yelinek in forum PC-DMIS for CMMs
    Replies: 27
    Last Post: 04-12-2006, 01:57 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •