小编Ser*_*ira的帖子

Android Studio - 通过WiFi使用Apache POI更新Excel数据库

我正在寻找一种通过WiFi使用Apache POI更新Excel数据库的方法.

我发现的所有示例都将文件声明为位于PC硬盘上,如下所示:

 File myFile = new File("C://temp/Example.xlsx");
Run Code Online (Sandbox Code Playgroud)

我如何继续考虑我的文件将在网络上,并且应该由设备通过WiFi访问?

android android-studio

5
推荐指数
0
解决办法
93
查看次数

VBA - 获取光标位置作为单元格地址

我有以下代码可以很好地以像素形式检索光标位置:

Declare Function GetCursorPos Lib "user32" (lpPoint As POINTAPI) As Long
' Create custom variable that holds two integers
Type POINTAPI
    Xcoord As Long
    Ycoord As Long
End Type

Sub GetCursorPosDemo()
    Dim llCoord As POINTAPI
    ' Get the cursor positions
    GetCursorPos llCoord
    ' Display the cursor position coordinates
    MsgBox "X Position: " & llCoord.Xcoord & vbNewLine & "Y Position: " & llCoord.Ycoord
End Sub
Run Code Online (Sandbox Code Playgroud)

我希望它返回我的光标当前所在的单元格地址,或者可能是 Points 中的坐标,以便我可以将其转换为地址。那可能吗?

excel vba

0
推荐指数
1
解决办法
1万
查看次数

标签 统计

android ×1

android-studio ×1

excel ×1

vba ×1