Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hbwin testole excel issue #166

Closed
ankitkuchhal2000 opened this issue Jan 13, 2018 · 1 comment
Closed

hbwin testole excel issue #166

ankitkuchhal2000 opened this issue Jan 13, 2018 · 1 comment
Labels

Comments

@ankitkuchhal2000
Copy link

there is not any availability for Missing value option in excel ole
i want to add worksheet in between 2 sheets
command is oworkbook:worksheets:Add() but it fails when add using before and after command
oworkbook:workSheets:Add(After: oworkbook:worksheets[oworkbook:workSheets:Count]);

@APerricone
Copy link
Contributor

Are you sure of this syntax, I think you must write

oworkbook:workSheets:Add(,oworkbook:worksheets[oworkbook:workSheets:Count])

see the comma after the parenthesis, it mean the second parameter, that is after: https://docs.microsoft.com/en-us/office/vba/api/excel.sheets.add

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants