View Single Post
 
Old 05-25-2011, 02:29 AM
macropod's Avatar
macropod macropod is offline Windows 7 32bit Office 2007
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi ilkks,

Try:
Code:
Private Sub cmdOK_Click()
Selection.Fields(1).Code.Text = "MACROBUTTON Update " & cboFood.Value
Unload Me
End Sub
where 'Update' is the name of the sub called by your MACROBUTTON.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote