how can i delete a row?

vijaydidmca2003vijaydidmca2003 Member Posts: 27
hello to all mibuso members.

i have little problem.

how can i delete a row form excel sheet by using coding in navision?

thanks. #-o

Comments

  • epernstepernst Member Posts: 20
    Exactly what do you want to do? Is this spreadsheet created by NAV?
    Best regards,
    Erik P. Ernst - Microsoft MVP - Dynamics NAV
    Dynamics User Group
  • BeliasBelias Member Posts: 2,998
    You can use excel, record a macro, delete a line and take a look to the code that is generated in VB excel.
    then, try to adapt it to nav automation...anyway, it should be something like this.
    XlApp.Range('A1').EntireRow.Delete;
    
    P.S.: search the forum...i think you will find about 20k posts about excel :wink:
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • SavatageSavatage Member Posts: 7,142
    I think eric was going for...

    If it's created in nav why not filter out the line so it never get's exported in the first place..
    So I agree more info is needed.
  • BeliasBelias Member Posts: 2,998
    Savatage wrote:
    I think eric was going for...

    If it's created in nav why not filter out the line so it never get's exported in the first place..
    So I agree more info is needed.
    :-k maybe i read this topic too...."literally" :mrgreen:
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
Sign In or Register to comment.