View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
ldiaz ldiaz is offline
external usenet poster
 
Posts: 48
Default Run macro only if Field E10 = "WO ID" and AB10 = "Spec Sizing"

hello all.

I want to run a macro only:
if Field E10 = "WO ID" and AB10 = "Spec Sizing"

if fields are different then it must show a message saying that the file is
not the correct one.

my macro needs Ctrl + m key to run,

and start llike this:

Sub Shipping()
' Keyboard Shortcut: Ctrl+m
'start Macro
Statement
'End macro
End Sub

where do I need to put the code?


please help
Thanks in advanced

--
Lorenzo DÃ*az
Cad Technician