wild window appears

MarieBocc

New Member
Joined
Jun 28, 2019
Messages
33
Hello everyone,

I am facing a problem I never had so far while using vba : a specific lign of code bloc the programm and make a window appear but it is supposedly not supposed to do so. The window isn't an Excel control or anything, just a normal file directory's window asking me to select a file in order to "update values". I have no idea of what this is supposed to mean and I really don't think I am supposed to get this because the ligns in question are as follows :

Code:
[FONT=Verdana]Cells(myRow, 1).FormulaR1C1 = "=IF(OR((RC[5]<>""""),(RC[3]<>""""),(RC[2]<>"""")),LOOKUP(""zzz"",R9C[1]:RC[1]),"""")"
[/FONT]

which only purpose is to set the formula in the cell (17 for instance) as "=IF(OR((H17<>"");(F17<>"");(E17<>""));SEARCH("zzz";B$9:$B17);"")
but certainly not to cause the other window to appear !

Does anyone has ever encountered this problem or has any idea ?

Thank you for reading,

Marie
 
Last edited:

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
As your formula is going into column A it's
=IF(OR((F17<>""),(D17<>""),(C17<>"")),LOOKUP("zzz",B$9:B17),"")
So are you looking at the wrong cells?
If you are being asked to "Update values" it sounds like you have links to another workbook.
 
Upvote 0
Turned out I had lost connexion with the company's servers and the computer couldn't find the path to the Excel file I was working on. The macro could still run without sending any error message so I hadn't realized.

Thank you for taking some of your time to give me an answer !
 
Upvote 0
Glad you sorted it out & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,731
Members
448,987
Latest member
marion_davis

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top