excel - VBA macro find first empty cell on next page -


Is it really true that Excel is impossible to create a macro that jumps on the first cell of the next page ??

Best Relationship

sheet. Use Index to find the current sheet indicator, then use Range.Find () to find the last captured cell in column A in the next sheet: < pre> Dim NextSheetIdx as Long NextSheetIdx = ActiveWorkbook.ActiveSheet.Index + 1 if NextSheetIdx & gt; ActiveWorkbook.Sheets.Count again as the range set, exit the sub-inset entry category. Insert = ActiveWorkbook.Sheets (NextSheetIdx). Column ("A") _. Find ("*", SearchDirection: = xl pre) if it is not inserted, then do not set anything InsertRange = InsertRange.Offset (1) or set InsertRange = ActiveWorkbook.Sheets (NextSheetIdx). Range ("A1") End if InsertRange.Value = "ayy"

Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -