[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 149
  • Last Modified:

Returning the index number of the currently selected table

Dear Experts
Is it possible to get the index number of the currently selected table and display it in a Msgbox such as: "The cursor is located in Table no. xxx"

Help is appreciated. Thank you very  much in advance.

Regards, Andreas
0
AndreasHermle
Asked:
AndreasHermle
1 Solution
 
R_RajeshCommented:
MsgBox "The cursor is located in Table no:" & _
ActiveDocument.Range(0, Selection.Tables(1).Range.End).Tables.Count
0
 
AndreasHermleAuthor Commented:
Rajesh:
thank you very much. It is working as desired.
Regards, Andreas
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now