# Excel sheet list into Revit

**URL:** <https://forum.dynamobim.com/t/excel-sheet-list-into-revit/53798>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [August 6, 2020, 3:20pm UTC](https://forum.dynamobim.com/t/excel-sheet-list-into-revit/53798 "2020-08-06T15:20:45Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Symmdynamo6720](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@Symmdynamo6720](https://forum.dynamobim.com/u/Symmdynamo6720)\
**Post date:** [August 6, 2020, 3:20pm UTC](https://forum.dynamobim.com/t/excel-sheet-list-into-revit/53798/1 "2020-08-06T15:20:45Z")

</div>

This has probably been done to death

But all my other parameters work but just this one fails any thoughts please.

 ![Why does this Fail - image 3](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/c/dcafd95964c9615f48e7ab883530cdf10073c879.png)

 ![Why does this Fail - image 1](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/a/2a6958be8e5be1bb67eba094f1904410b39a76f7.png)

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [August 6, 2020, 3:49pm UTC](https://forum.dynamobim.com/t/excel-sheet-list-into-revit/53798/2 "2020-08-06T15:49:21Z")

</div>

Please don’t post multiple threads - especially without any context. You can link additional images or use a file sharing service instead.

What does the warning say? Are you trying to set a type parameter? We need more information.

---

<div class="post-metadata">

**Author:** ![Symmdynamo6720](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@Symmdynamo6720](https://forum.dynamobim.com/u/Symmdynamo6720)\
**Post date:** [August 6, 2020, 3:54pm UTC](https://forum.dynamobim.com/t/excel-sheet-list-into-revit/53798/3 "2020-08-06T15:54:53Z")

</div>

this is the warning message

Warning: Element.SetParameterByName operation failed.  
The parameter’s storage type is not a string.

---

<div class="post-metadata">

**Author:** ![Symmdynamo6720](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@Symmdynamo6720](https://forum.dynamobim.com/u/Symmdynamo6720)\
**Post date:** [August 6, 2020, 3:56pm UTC](https://forum.dynamobim.com/t/excel-sheet-list-into-revit/53798/4 "2020-08-06T15:56:43Z")

</div>

I tried multiple images but being a new member it said only one image was allowed

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [August 6, 2020, 3:59pm UTC](https://forum.dynamobim.com/t/excel-sheet-list-into-revit/53798/5 "2020-08-06T15:59:55Z")

</div>

I understand. That’s why I suggested posting them through links or a file sharing site. Posting multiple threads for the same question is not allowed and also very confusing.

The error explains the issue. You are supplying a string when your parameter type is something else.

---

<div class="post-metadata">

**Author:** ![Symmdynamo6720](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@Symmdynamo6720](https://forum.dynamobim.com/u/Symmdynamo6720)\
**Post date:** [August 6, 2020, 4:03pm UTC](https://forum.dynamobim.com/t/excel-sheet-list-into-revit/53798/6 "2020-08-06T16:03:31Z")

</div>

So how do I find out what type it is. As far as I’m concerned it is simply a text parameter

 ![Shared parameters](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/4/94fa886cfff7c570f9fa811330be4c70b9d20579.png)

---

<div class="post-metadata">

**Author:** ![Symmdynamo6720](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@Symmdynamo6720](https://forum.dynamobim.com/u/Symmdynamo6720)\
**Post date:** [August 6, 2020, 4:10pm UTC](https://forum.dynamobim.com/t/excel-sheet-list-into-revit/53798/7 "2020-08-06T16:10:17Z")

</div>

![string parameter](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/c/6c7ed5a8e9b16555432da998572f0dfa63e81de5.png)

---

<div class="post-metadata">

**Author:** ![Symmdynamo6720](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@Symmdynamo6720](https://forum.dynamobim.com/u/Symmdynamo6720)\
**Post date:** [August 6, 2020, 4:19pm UTC](https://forum.dynamobim.com/t/excel-sheet-list-into-revit/53798/8 "2020-08-06T16:19:15Z")

</div>

Can you provide anymore help than that Nick because I’m no closer to a solution otherwise.

---

<div class="post-metadata">

**Author:** ![Vikram\_Subbaiah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikram_subbaiah/32/50797_2.png) [@Vikram\_Subbaiah](https://forum.dynamobim.com/u/Vikram_Subbaiah)\
**Post date:** [August 6, 2020, 4:26pm UTC](https://forum.dynamobim.com/t/excel-sheet-list-into-revit/53798/9 "2020-08-06T16:26:39Z")

</div>

Seems like there are two _Type_ parameters at index 6 and 10 (String and Element Id)  
That is probably creating a conflict.  
Would it be possible to rename the _Type_ shared parameter?

---

<div class="post-metadata">

**Author:** ![Symmdynamo6720](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@Symmdynamo6720](https://forum.dynamobim.com/u/Symmdynamo6720)\
**Post date:** [August 6, 2020, 4:37pm UTC](https://forum.dynamobim.com/t/excel-sheet-list-into-revit/53798/10 "2020-08-06T16:37:26Z")

</div>

Hi Vikram

Thanks for the response the `Type’ shared parameter is pretty ingrained within our system. I didn’t think it was possible to rename shared parameter. All our schedules are set up to use this also so that will prove very labour intesive. I did just find that it’s set up as an instance parameter rather than a type parameter does this change anything.

 ![instance](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/b/abfded0277de468184dc45524be3b9bdf4d97b01.png)

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [August 6, 2020, 5:24pm UTC](https://forum.dynamobim.com/t/excel-sheet-list-into-revit/53798/11 "2020-08-06T17:24:43Z")

</div>

It’s not a good idea to create parameters with duplicate names. You run into issues like this. I think you would have to use python and determine which parameter is the correct parameter before setting the value.

---

<div class="post-metadata">

**Author:** ![Symmdynamo6720](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@Symmdynamo6720](https://forum.dynamobim.com/u/Symmdynamo6720)\
**Post date:** [August 6, 2020, 5:27pm UTC](https://forum.dynamobim.com/t/excel-sheet-list-into-revit/53798/12 "2020-08-06T17:27:40Z")

</div>

Yes I can see the problem already Nick. Python is out of my scope unfortunately. Looks like I’ll have to tough it out with creating a new shared parameter and introducing it everywhere i find the old parameter

---

<div class="post-metadata">

**Author:** ![Symmdynamo6720](https://avatars.discourse-cdn.com/v4/letter/s/c68b51/32.png) [@Symmdynamo6720](https://forum.dynamobim.com/u/Symmdynamo6720)\
**Post date:** [August 6, 2020, 5:50pm UTC](https://forum.dynamobim.com/t/excel-sheet-list-into-revit/53798/13 "2020-08-06T17:50:30Z")

</div>

I created a new Parameter Vikram and substituted it in. It’s now working. Thanks for your help
