在CAD中如何操控excel的被选区域?
<p>请问在CAD中如何操控excel的被选区域?在excel vba中Selection是表示活动区域,但是我把最下方的程序改了一下通不过,谁帮帮我,谢谢!!</p><p>------------------------------------</p><p>我改的:</p><p> Debug.Print xlSheet.<font color="#0000ff">Selection </font>.Address<br/> For Each xlRange In xlSheet.<font color="#0000ff">Selection</font> <br/> ...........<br/> Next</p><p>--------------------------------------</p><p>原程序:</p><p>以下的程序截选至“<strong>Excel表格到CAD的示例程序</strong>”</p><p>地址:<a href="http://www.mjtd.com/BBS/dispbbs.asp?boardid=16&replyid=97725&id=16244&page=1&skin=0&landlord=0&Star=1">http://www.mjtd.com/BBS/dispbbs.asp?boardid=16&replyid=97725&id=16244&page=1&skin=0&landlord=0&Star=1</a></p><p>............</p><p> Debug.Print xlSheet.UsedRange.Address<br/> For Each xlRange In xlSheet.UsedRange<br/> ...........<br/> Next</p><p>............</p><p>--------------------------------------</p>
页:
[1]