精品丰满熟女一区二区三区_五月天亚洲欧美综合网_亚洲青青青在线观看_国产一区二区精选

  • <menu id="29e66"></menu>

    <bdo id="29e66"><mark id="29e66"><legend id="29e66"></legend></mark></bdo>

  • <pre id="29e66"><tt id="29e66"><rt id="29e66"></rt></tt></pre>

      <label id="29e66"></label><address id="29e66"><mark id="29e66"><strike id="29e66"></strike></mark></address>
      學習啦 > 學習電腦 > 工具軟件 > 辦公軟件學習 > Excel教程 > Excel基礎 > Excel表格如何移動列數據

      Excel表格如何移動列數據

      時間: 嘉銘873 分享

      Excel表格如何移動列數據

        在excel表格中,需要對整列數據進行移動時,應該怎么設置呢?下面隨學習啦小編一起來看看吧。

        Excel表格移動列數據的步驟

        單擊菜單欄--視圖--宏--查看宏。

        彈出宏的界面,輸入宏的名稱,這里為了便于記憶,我們命名為向左移動一列,然后點擊創(chuàng)建按鈕。

        在新出現的界面中,輸入代碼,也就是程序語言,我已經寫好了,大家直接復制即可。

        Application.ScreenUpdating = False

        x = Selection.Column

        If x >= 1 Then

        Columns(x).Cut

        Columns(x - 1).Insert

        Application.ScreenUpdating = True

        End If

        退出編輯狀態(tài),選中單元格或者整列,執(zhí)行宏即可。下面,我把向右移動一列的代碼也給大家。

        Application.ScreenUpdating = False

        x = Selection.Column

        If x < 256 Then

        Columns(x).Cut

        Columns(x + 2).Insert

        End If

        Application.ScreenUpdating = True

        End Sub


      Excel表格移動列數據相關文章:

      1.excel表格移動整列數據的方法

      2.excel怎么移動表格的行

      3.excel怎么移動行和列

      1832265