乔山办公网我们一直在努力
您的位置:乔山办公网 > excel表格制作 > 关于<em>Excel</em> <em>VBA</em> <em

关于<em>Excel</em> <em>VBA</em> <em

作者:乔山办公网日期:

返回目录:excel表格制作


n = Range("B65535").End(xlUp).Row
n = Selection.Row

你可以先定义b= TextBox1.Text
假设你要在sheet1中查找b,然后定义:
with sheets("sheet1")
set a=.find(b,lookin:=xlvalues)
if not a is nothing then
.Rows(a.row).Copy Sheets("sheet2").Rows(11)
end if
end with
即可.
ActiveCell.Row

指定单元格的行号

n=cells(3,4).row

其它类似

相关阅读

  • 关于<em>Excel</em> <em>VBA</em> <em

  • 乔山办公网excel表格制作
  • n = Range("B65535").End(xlUp).Rown = Selection.Row你可以先定义百b= TextBox1.Text假设你要度在sheet1中查找b,然后内定义:with sheets("sheet1")set a=.find(b,lookin:=xlvalues)if
关键词不能为空
极力推荐

ppt怎么做_excel表格制作_office365_word文档_365办公网