English 中文(简体)
VBA in Excel to selected a cell on othertab
原标题:VBA in Excel to select a cell on other tab
  • 时间:2010-11-05 18:44:47
  •  标签:
  • excel
  • vba

通过在另一张表格上更改日期,更新多功能电离层。 如果我在同一页上使用一个范围,则我可以这样做。

ActiveSheet.PivotTables("PVT1").PivotFields("Month").CurrentPage = _
    "11/1/2010"

更改

ActiveSheet.PivotTables("PVT1").PivotFields("Month").CurrentPage = _
    Range("C1").Text

但是,我无法得到正确的指示,在<代码>Sheets(“Sheet2”)的距离之外添加“C1”号。 文本

问题回答

Just DIM s the location and called it from there. It worked so I m happy. Thanks for looking





相关问题
import of excel in SQL imports NULL lines

I have a stored procedure that imports differently formatted workbooks into a database table, does work on them then drops the table. Here is the populating query. SELECT IDENTITY(INT,1,1) AS ID ...

Connecting to Oracle 10g with ODBC from Excel VBA

The following code works. the connection opens fine but recordset.recordCount always returns -1 when there is data in the table. ANd If I try to call any methods/properties on recordset it crashes ...

Excel date to Unix timestamp

Does anyone know how to convert an Excel date to a correct Unix timestamp?

C# GemBox Excel Import Error

I am trying to import an excel file into a data table using GemBox and I keep getting this error: Invalid data value when extracting to DataTable at SourceRowIndex: 1, and SourceColumnIndex: 1. As ...

Importing from excel "applications" using SSIS

I am looking for any tips or resources on importing from excel into a SQL database, but specifically when the information is NOT in column and row format. I am currently doing some pre-development ...

热门标签