Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 06-13-2014, 12:13 AM
cromano cromano is offline CommandButton random statu Windows 7 64bit CommandButton random statu Office 2013
Novice
CommandButton random statu
 
Join Date: Jun 2014
Posts: 5
cromano is on a distinguished road
Thumbs up

For the section move metod:
My first click make this code :
Code:
Private Sub Autre_Click()
     Selection.GoTo What:=wdGoToSection, Which:=wdGoToFirst, Count:=6, Name:=""
End Sub
Next click this code :
Code:
Private Sub PhyRetour_Click()
     Selection.GoTo What:=wdGoToSection, Which:=wdGoToFirst, Count:=1, Name:=""
End Sub
For the index table metod :
My first click make this code :
Code:
Private Sub PsyRetour_Click()
     DeclarationVariable
     ThisDocument.Tables(EntetePageI).Cell(1, 2).Select
     Selection.Move
End Sub
Next click this code :
Code:
Private Sub Hebergement_Click()
     DeclarationVariable
     ThisDocument.Tables(PGAHebergement).Cell(7, 1).Select
     Selection.Move
End Sub
With this two metod, after the second click the button always go "edition" mode
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Random indentation Galahad Word 1 09-25-2013 11:05 AM
CommandButton random statu Email Document via Commandbutton aqhibjaveed Word VBA 1 03-25-2013 11:22 PM
random pop up wont go away 464646 OneNote 0 05-01-2012 04:34 AM
how can i make random variant neezeen Word 0 11-22-2011 08:08 AM
CommandButton random statu Random names from a given list professor snape Excel 1 06-06-2009 09:39 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:23 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft