Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-07-2011, 11:47 AM
Johnny thunder Johnny thunder is offline Macro for moving one cell down from current position Windows XP Macro for moving one cell down from current position Office 2003
Novice
Macro for moving one cell down from current position
 
Join Date: Apr 2011
Posts: 10
Johnny thunder is on a distinguished road
Default Macro for moving one cell down from current position


Hello Friends,


I have a macro that is copying the results of one form field to about 15 others and I have entered the macro "On exit" so once the user updates the Drop-Down with his comments "Add" "Delete" I need the macro to say move to the next form field or toggle down.


Any ideas? I usually use something like foundcell.Offset(1, 1) in excel but I am not sure how to get it to work in Word?

Here is my code

Sub LMSI_Office()
Dim StrResult As String, i As Integer
With ActiveDocument
StrResult = .FormFields("LMSI_Office1").Result
For i = 2 To 15
.FormFields("LMSI_Office" & i).Result = StrResult
Next
End With
End Sub
Reply With Quote
 

Tags
form field, macro, word 2003



Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro for moving one cell down from current position Word Macro: Save file as text with current file name jabberwocky12 Word VBA 2 10-22-2010 12:23 PM
Macro for moving one cell down from current position Moving formula range multiple cells when moving sum over one cell FraserKitchell Excel 4 02-26-2010 10:38 AM
copy cell from sheet 2 to sheet 3 macro slipperyjim Excel Programming 1 02-18-2010 01:31 AM
Macro for moving one cell down from current position Auto insert current month's name and current year Styler001 Word 4 01-25-2010 06:40 PM
Auto-populate an MS Word table cell with text from a diff cell? dreamrthts Word Tables 0 03-20-2009 01:49 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:17 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