运行时错误' 6335'当运行代码粘贴

时间:2018-02-09 10:17:49

标签: vba excel-vba word-vba excel

运行时错误' 6335'运行代码粘贴时,如下图所示 enter image description here

  

运行时错误' 6335'

任何知道如何解决这个问题的人?非常感谢你

 <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:background="@android:color/transparent"
android:layout_height="match_parent"
android:layout_margin="@dimen/activity_vertical_margin"
>

<android.support.v7.widget.CardView
android:id="@+id/cardView"

xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="500dp">

<RelativeLayout
    android:layout_width="match_parent"
    android:layout_height="match_parent"

    >


    <ImageView
        android:id="@+id/ticketQrCodeImage"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_above="@+id/ticketDescriptionLayout"
        />

    <include layout="@layout/view_underline"
        android:layout_below="@+id/ticketQrCodeImage"
        android:layout_height="wrap_content"
        android:layout_width="wrap_content" />
    <RelativeLayout
        android:id="@+id/ticketDescriptionLayout"
        android:layout_alignParentBottom="true"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_margin="@dimen/activity_vertical_margin"
        >

        <ImageView
            android:id="@+id/ticketMainImage"
            android:layout_width="110dp"
            android:scaleType="centerCrop"
            android:layout_height="145dp"
            />
        <LinearLayout
            android:layout_toEndOf="@id/ticketMainImage"
            android:layout_marginStart="@dimen/activity_vertical_margin"
            android:layout_width="match_parent"
            android:layout_centerVertical="true"
            android:layout_height="wrap_content"
            android:orientation="vertical"
            >
            <TextView
                style="@style/TextViewBlackCustom"
                android:textSize="@dimen/title_text_size"
                android:id="@+id/ticketEventName"
                android:text="Иван Дорн"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                />
             <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:orientation="horizontal"
                    android:layout_marginTop="5dp">
                <TextView
                    style="@style/TextViewGrayNotTransCustom"
                      android:layout_width="0dp"
                        android:layout_height="wrap_content"
                        android:layout_weight="1"
                    android:layout_centerVertical="true"
                    android:text="@string/tickets_date"
                    />
                <TextView
                    android:id="@+id/ticketDataText"
                    style="@style/TextViewBlackCustom"
                     android:layout_width="0dp"
                     android:layout_height="wrap_content"
                     android:layout_weight="1"
                    android:layout_centerVertical="true"
                    android:layout_alignParentEnd="true"
                    android:text="07.10 в 21:00"
                     />

            </LinearLayout>
             <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:layout_marginTop="3dp">
                <TextView
                    style="@style/TextViewGrayNotTransCustom"
                      android:layout_width="0dp"
                        android:layout_height="wrap_content"
                        android:layout_weight="1"

                    android:text="@string/ticket_place"
                    />
                <TextView
                    android:id="@+id/ticketPlace"
                    style="@style/TextViewBlackCustom"
                      android:layout_width="0dp"
                        android:layout_height="wrap_content"
                        android:layout_weight="1"
                    android:layout_centerVertical="true"
                    android:layout_alignParentEnd="true"
                    android:text="Фан-зона"
                    />

            </RelativeLayout>
            <RelativeLayout
                android:layout_marginTop="3dp"

                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                >
                <TextView
                    style="@style/TextViewGrayNotTransCustom"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerVertical="true"
                    android:text="@string/ticket_price"
                    />
                <TextView
                    android:id="@+id/ticketPriceText"
                    style="@style/TextViewBlackCustom"
                    android:layout_width="wrap_content"
                    android:layout_centerVertical="true"
                    android:layout_alignParentEnd="true"
                    android:text="500 грн"
                    android:layout_height="wrap_content" />

            </RelativeLayout>


        </LinearLayout>


    </RelativeLayout>


</RelativeLayout>

</android.support.v7.widget.CardView>



<Button
    android:id="@+id/ticketReturnBtn"
    style="@style/ButtonCustomRed"
    android:text="@string/tickets_return_ticket_button"
    android:layout_width="wrap_content"
    android:layout_height="35dp"
    app:layout_anchorGravity="center|bottom"
    app:layout_anchor="@id/cardView"

    />

enter image description here

2 个答案:

答案 0 :(得分:0)

试试这样,可能是因为你遗漏了一些引用:

arr

答案 1 :(得分:-1)

“错误'6335',该操作已被组织策略阻止。”好吧,我认为错误的出现可能是因为其他一些应用程序正在尝试访问剪贴板。 在运行MS Word宏之前,您必须关闭所有访问剪贴板的应用程序。 出现此错误时,我试图在Word文档中生成pdf。最终,我关闭了一个名为“超越比较剪贴板”的进程,此后宏运行顺利。

相关问题