国产宅男网站在线|亚洲A级性爱免费视频|亚洲中精品级在线|午夜福利AA毛

  • <dd id="gf5jf"><th id="gf5jf"></th></dd>

    <cite id="gf5jf"><label id="gf5jf"></label></cite>
  • <div id="gf5jf"><listing id="gf5jf"></listing></div>
    學(xué)習(xí)啦 > 學(xué)習(xí)電腦 > 工具軟件 > 辦公軟件學(xué)習(xí) > Excel教程 > Excel基礎(chǔ) > Excel表格如何移動(dòng)列數(shù)據(jù)

    Excel表格如何移動(dòng)列數(shù)據(jù)

    時(shí)間: 嘉銘873 分享

    Excel表格如何移動(dòng)列數(shù)據(jù)

      在excel表格中,需要對(duì)整列數(shù)據(jù)進(jìn)行移動(dòng)時(shí),應(yīng)該怎么設(shè)置呢?下面隨學(xué)習(xí)啦小編一起來(lái)看看吧。

      Excel表格移動(dòng)列數(shù)據(jù)的步驟

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

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

      在新出現(xiàn)的界面中,輸入代碼,也就是程序語(yǔ)言,我已經(jīng)寫(xiě)好了,大家直接復(fù)制即可。

      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í)行宏即可。下面,我把向右移動(dòng)一列的代碼也給大家。

      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表格移動(dòng)列數(shù)據(jù)相關(guān)文章:

    1.excel表格移動(dòng)整列數(shù)據(jù)的方法

    2.excel怎么移動(dòng)表格的行

    3.excel怎么移動(dòng)行和列

    1832265