Filehost.ro - gazduire fisiere
Mrrrr's Forum (VIEW ONLY)
Un forum care ofera solutii pentru unele probleme legate in general de PC. Pe langa solutii, aici puteti gasi si alte lucruri interesante // A forum that offers solutions to some PC related issues. Besides these, here you can find more interesting stuff.
Nou pe simpatie:
danutza_84
Femeie
25 ani
Galati
cauta Barbat
26 - 55 ani
Mrrrr's Forum (VIEW ONLY)ReguliInregistrareLoginPozeNu sunteti logat. Lista Forumurilor Pe Tematici
Mrrrr's Forum (VIEW ONLY) / Tutoriale si Ghiduri Utile // Tutorials and useful guides /

[WORD] Count Table Cells in Selection [VBA]

Pagini: 1 Moderat de TRaP, TonyTzu
#1
TRaP
Moderator
Postari: 960
Select a range of cells in a Word table, then run the following code to return the number of selected cells:


Sub Selection_Cell_Count()

If Selection.Information(wdWithInTable) Then
    MsgBox "Selection Cells Count: " & Selection.Cells.Count
End If

End Sub


Source:
http://www.wordbanter.com/showthread.php?t=114385


 
   
Pagini: 1  
Mergi la