View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Don Guillett[_2_] Don Guillett[_2_] is offline
external usenet poster
 
Posts: 1,522
Default Why do I get VLookup error 1004

As ALWAYS, post YOUR code for comments.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"KenG" wrote in message
...
After defining a new Name ("_year") in my worksheet, I find that my makro
code (Private Sub cmdNewEntry744_Click()
With NewEntries
.Show
End With
End Sub)
can no longer open my dialog box. I get a runtime error 1004 a message
refering to VLookup property of Workbook function class.
The name "_year" refers to "=If(month="JAN.";R[-1]C + 1; R[-1]C)".

WhatIdo??

KenG