Range expanding in quickstart xlwings on macWhy is “1000000000000000 in range(1000000000000001)” so fast in Python 3?xlwings 0.6.1 Import error on Mac OS X with python 3.5Error in installing Tensorflow in macMacOS High OSierra 10.13.6, Python3.7, GeocoderServiceError: [SSL: CERTIFICATE_VERIFY_FAILED]Issue with add method in tensorflow : AttributeError: module 'tensorflow.python.framework.ops' has no attribute '_TensorLike'IntegrityError at /likes/9/ FOREIGN KEY constraint failedPython 3.7 - Download Image - Urllib.request.urlretrieve ErrorFailed to load the native TensorFlow runtime. when running g2p-seq2seq --versionGetting [SSL: CERTIFICATE_VERIFY_FAILED] error when trying to run geocoder in geopy how can I verify the certificate to get needed output?
Can the passive "être + verbe" sometimes mean the past?
Academic recognition
What is the difference between handcrafted and learned features
Why do I need two parameters in an HTTP parameter pollution attack?
What is the olden name for sideburns?
The difference between Rad1 and Rfd1
Can I travel from Germany to England alone as an unaccompanied minor?
Why did this meteor appear cyan?
How do accents of a whole town drift?
In F1 classification, what is ON?
Avoid using C Strings on C++ code to trim leading whitespace
How to find maximum/minimum in `ContourPlot`?
Can 'leave' mean 'forget'?
How exactly is a normal force exerted, at the molecular level?
Does “comme on était à New York” mean “since” or “as though”?
Index consecutive duplicates in vector
How can I convince my reader that I will not use a certain trope?
Java Optional working of orElse is not as if else
Procedurally generate regions on island
What is the equivalent of Math.Round() with MidpointRounding.AwayFromZero in Delphi?
Needle Hotend for nonplanar printing
In the context of a differentiator circuit, what is a “current-sensing resistor”?
Why transcripts instead of degree certificates?
Expansion of an optional parameter for an environment
Range expanding in quickstart xlwings on mac
Why is “1000000000000000 in range(1000000000000001)” so fast in Python 3?xlwings 0.6.1 Import error on Mac OS X with python 3.5Error in installing Tensorflow in macMacOS High OSierra 10.13.6, Python3.7, GeocoderServiceError: [SSL: CERTIFICATE_VERIFY_FAILED]Issue with add method in tensorflow : AttributeError: module 'tensorflow.python.framework.ops' has no attribute '_TensorLike'IntegrityError at /likes/9/ FOREIGN KEY constraint failedPython 3.7 - Download Image - Urllib.request.urlretrieve ErrorFailed to load the native TensorFlow runtime. when running g2p-seq2seq --versionGetting [SSL: CERTIFICATE_VERIFY_FAILED] error when trying to run geocoder in geopy how can I verify the certificate to get needed output?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
Trying to get familiar with xlwings on my mac (nl version) and working through the quickstart document.
I can read/write to a single cel.However, when I try the example from the quick start document I get an complicated error.
The command is:
sht.range('A1').value = [['Foo 1', 'Foo 2', 'Foo 3'], [10.0, 20.0, 30.0]]
I cannot solve it and had expected that sht.range('A1').expand().value would give me:
[['Foo 1', 'Foo 2', 'Foo 3'], [10.0, 20.0, 30.0]]
The complete error message is:
EventError Traceback (most recent call last)
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/aeosa/appscript/reference.py in __call__(self, *args, **kargs)
481 try:
--> 482 return self.AS_appdata.target().event(self._code, params, atts, codecs=self.AS_appdata).send(timeout, sendflags)
483 except aem.EventError as e:
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/aeosa/aem/aemsend.py in send(self, timeout, flags)
91 errormsg = _defaultcodecs.unpack(errormsg)
---> 92 raise EventError(errornum, errormsg, eventresult)
93 if kae.keyAEResult in eventresult: # application has returned a value
EventError: Command failed: The object you are trying to access does not exist (-1728)
The above exception was the direct cause of the following exception:
CommandError Traceback (most recent call last)
<ipython-input-49-5623573f98f7> in <module>
----> 1 sht.range('A1').value = [1, 2, 3, 4, 5]
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xlwings/main.py in value(self, data)
1523 @value.setter
1524 def value(self, data):
-> 1525 conversion.write(data, self, self._options)
1526
1527 def expand(self, mode='table'):
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xlwings/conversion/__init__.py in write(value, rng, options)
41 pipeline = accessors.get(convert, convert).router(value, rng, options).writer(options)
42 ctx = ConversionContext(rng=rng, value=value)
---> 43 pipeline(ctx)
44 return ctx.value
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xlwings/conversion/framework.py in __call__(self, *args, **kwargs)
64 def __call__(self, *args, **kwargs):
65 for stage in self:
---> 66 stage(*args, **kwargs)
67
68
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xlwings/conversion/standard.py in __call__(self, ctx)
58 scalar = ctx.meta.get('scalar', False)
59 if not scalar:
---> 60 ctx.range = ctx.range.resize(len(ctx.value), len(ctx.value[0]))
61
62 self._write_value(ctx.range, ctx.value, scalar)
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xlwings/main.py in resize(self, row_size, column_size)
1700 column_size = self.shape[1]
1701
-> 1702 return Range(self(1, 1), self(row_size, column_size)).options(**self._options)
1703
1704 def offset(self, row_offset=0, column_offset=0):
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xlwings/main.py in __init__(self, cell1, cell2, **options)
993 if impl is None:
994 if cell2 is not None and isinstance(cell1, Range) and isinstance(cell2, Range):
--> 995 if cell1.sheet != cell2.sheet:
996 raise ValueError("Ranges are not on the same sheet")
997 impl = cell1.sheet.range(cell1, cell2).impl
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xlwings/main.py in __ne__(self, other)
785
786 def __ne__(self, other):
--> 787 return not self.__eq__(other)
788
789 def __hash__(self):
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xlwings/main.py in __eq__(self, other)
782
783 def __eq__(self, other):
--> 784 return isinstance(other, Sheet) and self.book == other.book and self.name == other.name
785
786 def __ne__(self, other):
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xlwings/main.py in name(self)
793 def name(self):
794 """Gets or sets the name of the Sheet."""
--> 795 return self.impl.name
796
797 @name.setter
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xlwings/_xlmac.py in name(self)
306 @property
307 def name(self):
--> 308 return self.xl.name.get()
309
310 @name.setter
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/aeosa/appscript/reference.py in __call__(self, *args, **kargs)
516 return
517 raise CommandError(self, (args, kargs), e, self.AS_appdata) from e
--> 518 raise CommandError(self, (args, kargs), e, self.AS_appdata) from e
519
520 def AS_formatcommand(self, args):
CommandError: Command failed:
OSERROR: -1728
MESSAGE: The object you are trying to access does not exist
COMMAND: app(pid=62804).workbooks['**Map2**'].worksheets['**Sheet**'].name.get()
python excel python-3.x xlwings
add a comment |
Trying to get familiar with xlwings on my mac (nl version) and working through the quickstart document.
I can read/write to a single cel.However, when I try the example from the quick start document I get an complicated error.
The command is:
sht.range('A1').value = [['Foo 1', 'Foo 2', 'Foo 3'], [10.0, 20.0, 30.0]]
I cannot solve it and had expected that sht.range('A1').expand().value would give me:
[['Foo 1', 'Foo 2', 'Foo 3'], [10.0, 20.0, 30.0]]
The complete error message is:
EventError Traceback (most recent call last)
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/aeosa/appscript/reference.py in __call__(self, *args, **kargs)
481 try:
--> 482 return self.AS_appdata.target().event(self._code, params, atts, codecs=self.AS_appdata).send(timeout, sendflags)
483 except aem.EventError as e:
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/aeosa/aem/aemsend.py in send(self, timeout, flags)
91 errormsg = _defaultcodecs.unpack(errormsg)
---> 92 raise EventError(errornum, errormsg, eventresult)
93 if kae.keyAEResult in eventresult: # application has returned a value
EventError: Command failed: The object you are trying to access does not exist (-1728)
The above exception was the direct cause of the following exception:
CommandError Traceback (most recent call last)
<ipython-input-49-5623573f98f7> in <module>
----> 1 sht.range('A1').value = [1, 2, 3, 4, 5]
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xlwings/main.py in value(self, data)
1523 @value.setter
1524 def value(self, data):
-> 1525 conversion.write(data, self, self._options)
1526
1527 def expand(self, mode='table'):
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xlwings/conversion/__init__.py in write(value, rng, options)
41 pipeline = accessors.get(convert, convert).router(value, rng, options).writer(options)
42 ctx = ConversionContext(rng=rng, value=value)
---> 43 pipeline(ctx)
44 return ctx.value
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xlwings/conversion/framework.py in __call__(self, *args, **kwargs)
64 def __call__(self, *args, **kwargs):
65 for stage in self:
---> 66 stage(*args, **kwargs)
67
68
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xlwings/conversion/standard.py in __call__(self, ctx)
58 scalar = ctx.meta.get('scalar', False)
59 if not scalar:
---> 60 ctx.range = ctx.range.resize(len(ctx.value), len(ctx.value[0]))
61
62 self._write_value(ctx.range, ctx.value, scalar)
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xlwings/main.py in resize(self, row_size, column_size)
1700 column_size = self.shape[1]
1701
-> 1702 return Range(self(1, 1), self(row_size, column_size)).options(**self._options)
1703
1704 def offset(self, row_offset=0, column_offset=0):
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xlwings/main.py in __init__(self, cell1, cell2, **options)
993 if impl is None:
994 if cell2 is not None and isinstance(cell1, Range) and isinstance(cell2, Range):
--> 995 if cell1.sheet != cell2.sheet:
996 raise ValueError("Ranges are not on the same sheet")
997 impl = cell1.sheet.range(cell1, cell2).impl
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xlwings/main.py in __ne__(self, other)
785
786 def __ne__(self, other):
--> 787 return not self.__eq__(other)
788
789 def __hash__(self):
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xlwings/main.py in __eq__(self, other)
782
783 def __eq__(self, other):
--> 784 return isinstance(other, Sheet) and self.book == other.book and self.name == other.name
785
786 def __ne__(self, other):
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xlwings/main.py in name(self)
793 def name(self):
794 """Gets or sets the name of the Sheet."""
--> 795 return self.impl.name
796
797 @name.setter
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xlwings/_xlmac.py in name(self)
306 @property
307 def name(self):
--> 308 return self.xl.name.get()
309
310 @name.setter
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/aeosa/appscript/reference.py in __call__(self, *args, **kargs)
516 return
517 raise CommandError(self, (args, kargs), e, self.AS_appdata) from e
--> 518 raise CommandError(self, (args, kargs), e, self.AS_appdata) from e
519
520 def AS_formatcommand(self, args):
CommandError: Command failed:
OSERROR: -1728
MESSAGE: The object you are trying to access does not exist
COMMAND: app(pid=62804).workbooks['**Map2**'].worksheets['**Sheet**'].name.get()
python excel python-3.x xlwings
What is the error you get? When in doubt, show the full traceback. Also, please read stackoverflow.com/help/how-to-ask and provide a Minimal, Complete, and Verifiable example
– fabianegli
Mar 25 at 11:56
The error message suggests that one object (most likely the workbooknameMap2or the sheet nameSheetdo not exist. Try to close Excel and start from scratch to see if the error persists or post a full code example to replicated. It would also be helpful to say that you are on a Mac.
– Felix Zumstein
Mar 26 at 2:22
I am on a mac and use office in NL version. When I open a workbook the default name is "map*". If I use it on a existing workbook and use the appropriate name for the tab (blad1) it works!. What i do not understand that sht = wb.sheets('Sheet') (although the sheet name is "blad1") and sht.range("A1").value = 1 is ok but i get the error when i try with a list.
– Pieter de Wit
Mar 26 at 8:07
add a comment |
Trying to get familiar with xlwings on my mac (nl version) and working through the quickstart document.
I can read/write to a single cel.However, when I try the example from the quick start document I get an complicated error.
The command is:
sht.range('A1').value = [['Foo 1', 'Foo 2', 'Foo 3'], [10.0, 20.0, 30.0]]
I cannot solve it and had expected that sht.range('A1').expand().value would give me:
[['Foo 1', 'Foo 2', 'Foo 3'], [10.0, 20.0, 30.0]]
The complete error message is:
EventError Traceback (most recent call last)
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/aeosa/appscript/reference.py in __call__(self, *args, **kargs)
481 try:
--> 482 return self.AS_appdata.target().event(self._code, params, atts, codecs=self.AS_appdata).send(timeout, sendflags)
483 except aem.EventError as e:
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/aeosa/aem/aemsend.py in send(self, timeout, flags)
91 errormsg = _defaultcodecs.unpack(errormsg)
---> 92 raise EventError(errornum, errormsg, eventresult)
93 if kae.keyAEResult in eventresult: # application has returned a value
EventError: Command failed: The object you are trying to access does not exist (-1728)
The above exception was the direct cause of the following exception:
CommandError Traceback (most recent call last)
<ipython-input-49-5623573f98f7> in <module>
----> 1 sht.range('A1').value = [1, 2, 3, 4, 5]
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xlwings/main.py in value(self, data)
1523 @value.setter
1524 def value(self, data):
-> 1525 conversion.write(data, self, self._options)
1526
1527 def expand(self, mode='table'):
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xlwings/conversion/__init__.py in write(value, rng, options)
41 pipeline = accessors.get(convert, convert).router(value, rng, options).writer(options)
42 ctx = ConversionContext(rng=rng, value=value)
---> 43 pipeline(ctx)
44 return ctx.value
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xlwings/conversion/framework.py in __call__(self, *args, **kwargs)
64 def __call__(self, *args, **kwargs):
65 for stage in self:
---> 66 stage(*args, **kwargs)
67
68
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xlwings/conversion/standard.py in __call__(self, ctx)
58 scalar = ctx.meta.get('scalar', False)
59 if not scalar:
---> 60 ctx.range = ctx.range.resize(len(ctx.value), len(ctx.value[0]))
61
62 self._write_value(ctx.range, ctx.value, scalar)
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xlwings/main.py in resize(self, row_size, column_size)
1700 column_size = self.shape[1]
1701
-> 1702 return Range(self(1, 1), self(row_size, column_size)).options(**self._options)
1703
1704 def offset(self, row_offset=0, column_offset=0):
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xlwings/main.py in __init__(self, cell1, cell2, **options)
993 if impl is None:
994 if cell2 is not None and isinstance(cell1, Range) and isinstance(cell2, Range):
--> 995 if cell1.sheet != cell2.sheet:
996 raise ValueError("Ranges are not on the same sheet")
997 impl = cell1.sheet.range(cell1, cell2).impl
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xlwings/main.py in __ne__(self, other)
785
786 def __ne__(self, other):
--> 787 return not self.__eq__(other)
788
789 def __hash__(self):
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xlwings/main.py in __eq__(self, other)
782
783 def __eq__(self, other):
--> 784 return isinstance(other, Sheet) and self.book == other.book and self.name == other.name
785
786 def __ne__(self, other):
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xlwings/main.py in name(self)
793 def name(self):
794 """Gets or sets the name of the Sheet."""
--> 795 return self.impl.name
796
797 @name.setter
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xlwings/_xlmac.py in name(self)
306 @property
307 def name(self):
--> 308 return self.xl.name.get()
309
310 @name.setter
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/aeosa/appscript/reference.py in __call__(self, *args, **kargs)
516 return
517 raise CommandError(self, (args, kargs), e, self.AS_appdata) from e
--> 518 raise CommandError(self, (args, kargs), e, self.AS_appdata) from e
519
520 def AS_formatcommand(self, args):
CommandError: Command failed:
OSERROR: -1728
MESSAGE: The object you are trying to access does not exist
COMMAND: app(pid=62804).workbooks['**Map2**'].worksheets['**Sheet**'].name.get()
python excel python-3.x xlwings
Trying to get familiar with xlwings on my mac (nl version) and working through the quickstart document.
I can read/write to a single cel.However, when I try the example from the quick start document I get an complicated error.
The command is:
sht.range('A1').value = [['Foo 1', 'Foo 2', 'Foo 3'], [10.0, 20.0, 30.0]]
I cannot solve it and had expected that sht.range('A1').expand().value would give me:
[['Foo 1', 'Foo 2', 'Foo 3'], [10.0, 20.0, 30.0]]
The complete error message is:
EventError Traceback (most recent call last)
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/aeosa/appscript/reference.py in __call__(self, *args, **kargs)
481 try:
--> 482 return self.AS_appdata.target().event(self._code, params, atts, codecs=self.AS_appdata).send(timeout, sendflags)
483 except aem.EventError as e:
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/aeosa/aem/aemsend.py in send(self, timeout, flags)
91 errormsg = _defaultcodecs.unpack(errormsg)
---> 92 raise EventError(errornum, errormsg, eventresult)
93 if kae.keyAEResult in eventresult: # application has returned a value
EventError: Command failed: The object you are trying to access does not exist (-1728)
The above exception was the direct cause of the following exception:
CommandError Traceback (most recent call last)
<ipython-input-49-5623573f98f7> in <module>
----> 1 sht.range('A1').value = [1, 2, 3, 4, 5]
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xlwings/main.py in value(self, data)
1523 @value.setter
1524 def value(self, data):
-> 1525 conversion.write(data, self, self._options)
1526
1527 def expand(self, mode='table'):
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xlwings/conversion/__init__.py in write(value, rng, options)
41 pipeline = accessors.get(convert, convert).router(value, rng, options).writer(options)
42 ctx = ConversionContext(rng=rng, value=value)
---> 43 pipeline(ctx)
44 return ctx.value
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xlwings/conversion/framework.py in __call__(self, *args, **kwargs)
64 def __call__(self, *args, **kwargs):
65 for stage in self:
---> 66 stage(*args, **kwargs)
67
68
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xlwings/conversion/standard.py in __call__(self, ctx)
58 scalar = ctx.meta.get('scalar', False)
59 if not scalar:
---> 60 ctx.range = ctx.range.resize(len(ctx.value), len(ctx.value[0]))
61
62 self._write_value(ctx.range, ctx.value, scalar)
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xlwings/main.py in resize(self, row_size, column_size)
1700 column_size = self.shape[1]
1701
-> 1702 return Range(self(1, 1), self(row_size, column_size)).options(**self._options)
1703
1704 def offset(self, row_offset=0, column_offset=0):
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xlwings/main.py in __init__(self, cell1, cell2, **options)
993 if impl is None:
994 if cell2 is not None and isinstance(cell1, Range) and isinstance(cell2, Range):
--> 995 if cell1.sheet != cell2.sheet:
996 raise ValueError("Ranges are not on the same sheet")
997 impl = cell1.sheet.range(cell1, cell2).impl
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xlwings/main.py in __ne__(self, other)
785
786 def __ne__(self, other):
--> 787 return not self.__eq__(other)
788
789 def __hash__(self):
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xlwings/main.py in __eq__(self, other)
782
783 def __eq__(self, other):
--> 784 return isinstance(other, Sheet) and self.book == other.book and self.name == other.name
785
786 def __ne__(self, other):
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xlwings/main.py in name(self)
793 def name(self):
794 """Gets or sets the name of the Sheet."""
--> 795 return self.impl.name
796
797 @name.setter
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/xlwings/_xlmac.py in name(self)
306 @property
307 def name(self):
--> 308 return self.xl.name.get()
309
310 @name.setter
/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/aeosa/appscript/reference.py in __call__(self, *args, **kargs)
516 return
517 raise CommandError(self, (args, kargs), e, self.AS_appdata) from e
--> 518 raise CommandError(self, (args, kargs), e, self.AS_appdata) from e
519
520 def AS_formatcommand(self, args):
CommandError: Command failed:
OSERROR: -1728
MESSAGE: The object you are trying to access does not exist
COMMAND: app(pid=62804).workbooks['**Map2**'].worksheets['**Sheet**'].name.get()
python excel python-3.x xlwings
python excel python-3.x xlwings
edited Mar 27 at 12:48
Pieter de Wit
asked Mar 25 at 11:53
Pieter de WitPieter de Wit
12 bronze badges
12 bronze badges
What is the error you get? When in doubt, show the full traceback. Also, please read stackoverflow.com/help/how-to-ask and provide a Minimal, Complete, and Verifiable example
– fabianegli
Mar 25 at 11:56
The error message suggests that one object (most likely the workbooknameMap2or the sheet nameSheetdo not exist. Try to close Excel and start from scratch to see if the error persists or post a full code example to replicated. It would also be helpful to say that you are on a Mac.
– Felix Zumstein
Mar 26 at 2:22
I am on a mac and use office in NL version. When I open a workbook the default name is "map*". If I use it on a existing workbook and use the appropriate name for the tab (blad1) it works!. What i do not understand that sht = wb.sheets('Sheet') (although the sheet name is "blad1") and sht.range("A1").value = 1 is ok but i get the error when i try with a list.
– Pieter de Wit
Mar 26 at 8:07
add a comment |
What is the error you get? When in doubt, show the full traceback. Also, please read stackoverflow.com/help/how-to-ask and provide a Minimal, Complete, and Verifiable example
– fabianegli
Mar 25 at 11:56
The error message suggests that one object (most likely the workbooknameMap2or the sheet nameSheetdo not exist. Try to close Excel and start from scratch to see if the error persists or post a full code example to replicated. It would also be helpful to say that you are on a Mac.
– Felix Zumstein
Mar 26 at 2:22
I am on a mac and use office in NL version. When I open a workbook the default name is "map*". If I use it on a existing workbook and use the appropriate name for the tab (blad1) it works!. What i do not understand that sht = wb.sheets('Sheet') (although the sheet name is "blad1") and sht.range("A1").value = 1 is ok but i get the error when i try with a list.
– Pieter de Wit
Mar 26 at 8:07
What is the error you get? When in doubt, show the full traceback. Also, please read stackoverflow.com/help/how-to-ask and provide a Minimal, Complete, and Verifiable example
– fabianegli
Mar 25 at 11:56
What is the error you get? When in doubt, show the full traceback. Also, please read stackoverflow.com/help/how-to-ask and provide a Minimal, Complete, and Verifiable example
– fabianegli
Mar 25 at 11:56
The error message suggests that one object (most likely the workbookname
Map2 or the sheet name Sheet do not exist. Try to close Excel and start from scratch to see if the error persists or post a full code example to replicated. It would also be helpful to say that you are on a Mac.– Felix Zumstein
Mar 26 at 2:22
The error message suggests that one object (most likely the workbookname
Map2 or the sheet name Sheet do not exist. Try to close Excel and start from scratch to see if the error persists or post a full code example to replicated. It would also be helpful to say that you are on a Mac.– Felix Zumstein
Mar 26 at 2:22
I am on a mac and use office in NL version. When I open a workbook the default name is "map*". If I use it on a existing workbook and use the appropriate name for the tab (blad1) it works!. What i do not understand that sht = wb.sheets('Sheet') (although the sheet name is "blad1") and sht.range("A1").value = 1 is ok but i get the error when i try with a list.
– Pieter de Wit
Mar 26 at 8:07
I am on a mac and use office in NL version. When I open a workbook the default name is "map*". If I use it on a existing workbook and use the appropriate name for the tab (blad1) it works!. What i do not understand that sht = wb.sheets('Sheet') (although the sheet name is "blad1") and sht.range("A1").value = 1 is ok but i get the error when i try with a list.
– Pieter de Wit
Mar 26 at 8:07
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55337230%2frange-expanding-in-quickstart-xlwings-on-mac%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55337230%2frange-expanding-in-quickstart-xlwings-on-mac%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
What is the error you get? When in doubt, show the full traceback. Also, please read stackoverflow.com/help/how-to-ask and provide a Minimal, Complete, and Verifiable example
– fabianegli
Mar 25 at 11:56
The error message suggests that one object (most likely the workbookname
Map2or the sheet nameSheetdo not exist. Try to close Excel and start from scratch to see if the error persists or post a full code example to replicated. It would also be helpful to say that you are on a Mac.– Felix Zumstein
Mar 26 at 2:22
I am on a mac and use office in NL version. When I open a workbook the default name is "map*". If I use it on a existing workbook and use the appropriate name for the tab (blad1) it works!. What i do not understand that sht = wb.sheets('Sheet') (although the sheet name is "blad1") and sht.range("A1").value = 1 is ok but i get the error when i try with a list.
– Pieter de Wit
Mar 26 at 8:07