Thread: [Solved] vba table valid row count
View Single Post
 
Old 05-17-2022, 08:47 AM
abonsey abonsey is offline Windows 11 Office 2021
Novice
 
Join Date: May 2022
Posts: 6
abonsey is on a distinguished road
Default

??Any ideas anyone??

I did have this, but it failed at the 'With ActiveDocument.InlineShapes(1)' yet it worked on the other person's vba

Dim objSS As InlineShape
With ActiveDocument.InlineShapes(1)
.OLEFormat.DoVerb wdOLEVerbHide
With .OLEFormat.Object.Application
With .workbooks(1).Worksheets(1)
MsgBox .Range("A1").currentregion.Rows.Count
End With
End With
End With


TIA
Reply With Quote