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

Named range independent of sheets #156

Closed
petrushy opened this issue Feb 22, 2015 · 5 comments
Closed

Named range independent of sheets #156

petrushy opened this issue Feb 22, 2015 · 5 comments

Comments

@petrushy
Copy link

It seems like the named ranges in Excel is including the sheet information. In xlwings the sheet needs to be specified (or be on firs/active page) now, could this instead use the sheet information in the excel named range definition?

Many thanks

@fzumstein
Copy link
Member

Could you give me a concrete example of how the behavior seems to differ between VBA and xlwings?

@petrushy
Copy link
Author

Hi,

I'm not using VBA, so maybe it's there the difference is, but when I look in excel on the defined names I get the following:
capture
(maybe a bad example as all the named ranges are on same sheet (System))

Also selecting them from the excel pop-up highlight the cell in correct sheet.

Not used to VBA but maybe this is the same problem:
http://stackoverflow.com/questions/8128092/get-sheet-name-from-a-named-ranges-name-object

@petrushy
Copy link
Author

I guess this is related as well, accessing the range via the Workbook instead of sheet:
http://www.bettersolutions.com/excel/EFC133/LF926361312.htm

@fzumstein
Copy link
Member

thanks for the all the infos - I will need to look into it.

@fzumstein
Copy link
Member

I am closing this as it is the same as #256

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

No branches or pull requests

2 participants