I've successfully automatized a process with Open Twebst. (Go through some links, fill the forms and upload images..) So, it helped me to upload images to a HTML page in Internet Explorer 10.
I've just changed my laptop and It has Windows 10 (64bit) and it enables to use only Internet Explorer 11 instead of 10. - Previously the macro was running on Win7 - excel 2013 and IE10 - it was worked perfectly.
Somehow the macro stops when the upload browser window appears. I've already installed the program and added its reference in VBA but I had no luck. I was trying to simulate IE10 but it didn't work. I was also trying to do it in Excel 2013 instead of 2016 but it was the same.
Could someone help me to solve this issue? I searched a lot in this topic and as I can see everyone has the same issue: the VBA can't be able to control that window on his own.
This link contains a tutorial for the method I used:
http://codecentrix.blogspot.com/2009/11/automate-html-file-upload-control.html
HTML tag where I upload: ....input type="file"....
I was trying to modify the security settings in IE11, but it wasn't helped me - I'm not an expert in IE, maybe someone knows how to set it.
I would really appreciate any ideas/ codes.
Many thanks!
Zoltán Báthori
Related
So I wanted to make a message box appear saying a nice and funny message as a joke in Word 97, and yes, I know it's old, I just have an interest to old stuff. But when I hit create, it just says "The macro couldn't be created." Upon running it with compatibility mode, I used Windows 98/ME, and the macros started working but the program became very unstable. Not only that, but opening a word document through explorer would not work. I'm using Windows 7. Can anyone help me?
I tried running in compatibility mode, didn't work as expected.
We build an Outlook addin and trying to test it on all platforms.
It works on IE and Edge, but not in Windows native Outlook client. The button shows up, but after clicking on it, there is a message "[Our Addin] is working on our request" keeps staying there with a spinner in front of it."
We are trying to debug it using F12Chooser.
But no matter we launch this tool before or after launching our addin, our addin page cannot show up in the chooser.
Have been searching this issue on the Internet for quite a while, but cannot find any related posts. Need some experts help.
Please let me know if I need to provide any additional information. Thanks!
I’ve run into an issue with a couple of workbooks where the message “Can’t find library or project.”. However, when I open the VBA window to check the references, it’s non responsive (as in I can click things, but no menus appear, the project window displays the desktop, and Active X controls are non responsive).
I’m in Excel 2013. Is it possible that if the file was created in 2010 and brought over there could be issues? I’m acratching my head as this seems to happen completly at random.
Thanks guys. I managed to open the file in Safe Mode, and tried compiling the code. I believe that there was an error in the Workbook Open code that it may have been corrupting on. I deleted this, and it seems to be all good
I'm using VBA to open an Internet Explorer window, navigate and log into a webpage and download an Excel Spreadsheet. Every bit of the process works fine, but I can't find a way to automate the process of choosing the "save" option everytime I try to download something on IE.
Here's the code I've been using, found it here, I know I can set VBA to send Alt+S automatically, but it won't work when IE is not in focus and I just couldn't find a way on the web that works.
AppActivate "Internet Explorer"
Application.SendKeys "%{S}"
Is there another way to do it? Without Sending Keys? Or a working way to send keys?
I appreciate any help!
Observations: I'm using IE 11 and can't tinker with it's settings, because I'm not the administrator.
I have written a VB application in VS2010. When I try to record its operation for a demo video with Windows Media Encoder x64 or Apowersoft free screen recorder, I get a recording of everything on the desktop except my application. It's like the application is invisible to the recorder. It has worked in the past (2 weeks ago). It must be something I have done but I'm baffled. Is there a "feature" in VB that can prevent you from recording the Form?
BTW, a still screen capture works fine and sub forms I bring up are captured. Only the main form is invisible to the recorder.
Thank you for your help and time.
Not a VS or VB problem after all. What I found was that windows 7 was switching me from Aero Theme to Windows 7 Basic. The message that showed up was that I was low on display memory. (A quick pop-up in the bottom right corner that I was ignored during the recording). However, I have 4.75 G of display memory?
BTW on a video conf call it produced the same invisibility "feature" until I found the Theme switch.
I haven't actually fixed anything but now know to watch for the tell tale screen blink as it switches mode. I pause the recording, and switch it back before restarting the recording. Got through the recordings I needed for now. I was using MS Media Encoder. I have now replaced it with Adobe Premier elements but haven't tried it yet to see if I still have the problem. Need to get the "how to" videos out the door first.
Thanks again. I have read many of your Answers to others in the past that have helped me solve numerous other VB and VS problems.
Michael
That's weird since it's recording forms from the application and not other forms (main form) from the same application.
Make sure you run the recorder as administrator and not the application.