Microsoft VBScript compilation error: Expected end of statement. What is wrong?
sInput = InputBox("Enter your name") a=MsgBox 1("You entered: " & sInput , 4+0 , "Is that what you want entered?") if a = vbyes then b=msgbox("Yes" , 0+16 , "Yes") end
View ArticleMicrosoft VBScript compilation error: Expected 'End' What is wrong with the...
sInput = InputBox("Enter your name") a=MsgBox("You entered: " & sInput , 4+32 , "Is that what you want entered?") if a = vbyes then b=msgbox("thanks" , 0+16 , "thanks") If a = vbNo Then...
View ArticleVB Script to drag column down to last row of column A
Hi Folks - I'm struggling with a solution to be able to drag down a formula in column N3 down to the last row of data for Column A. Here is what I have thus far: Code: Set objExcel =...
View Articleworking with files and variables
ok so im not sure how this is done I only have a basic understanding of the code. what i have written is a macro system inside open office and in this macro system it calls to vbs to send an email with...
View ArticleError upon rsObject.Open
Hello, Using the following SELECT statement: strSQL = "SELECT tblCustomerTests.TestValMin, tblCustomerTests.TestValMax, tblItems.ItemID, tblItems.ItemNum, tblItems.ItemDesc, tblItems.ItemSpecInst,...
View ArticleVBScript AND operator
Dear Members, This is known issue and just wanted to check an alternate solution for AND operator. In If Condition i am using AND and i wanted to exit condition if first condition is false. If(a() AND...
View ArticleRun-time errpor 52 Bad file name or number
Hello. I'm a vb script newbie. I am debugging a VB script Excel Macro. The Macro is suppose to create a PDF once a button is selected. I am getting a runtime error 52. Bad file name or number. Below is...
View ArticleNeed help with vbscript and Adobe Illustrator plug-in
Pleading help from someone who is into Vbscript and Adobe Illustrator with regards to using script to access a custom preset in Illustrator. What I am trying do is a take an Tiff image and trace it...
View ArticleUse data from the Web in MS Word
Hi I am busy working on a project where I need to include graphs from a website in my final document created by my Windows Forms Application. Basically, the user inputs are taken and incorporated into...
View ArticlePath Not Found when I use variables...
I am building a script that uses a user's input to create the path for a source folder. If I use a full path (the path that has been comment out), this works. Otherwise I get "Path Not Found". Can...
View ArticleRunning two actions in same VBScript
Good afternoon I have the below scripts which I need to run in one script. I cant get the second script to execute so I think I'm missing command line to continue can anyone advise whats missing...
View ArticleSet a VBS file encoding
Hello, I use the following code in a BAT file to open a folder and select a file in an existing Windows Explorer window (QTTabBar installed). Code: start "" %1 :VBSDynamicBuild SET...
View Articleerror logging in vbs
so as of right now my code is Code: Option Explicit On Error resume next dim attachment dim subject attachment = WScript.Arguments.Item(0) 'msgbox attachment,vbInformation subject =...
View ArticleMake page to stay at center of screen
# July 26, 2017 at 8:51 am Company use 17″ and 23″ monitor. I want app page always stay at the center of screen. I learn CSS from the link here http://jsfiddle.net/PvfFy/. I added a div1 and set class...
View ArticleWeb Services and passing XML files from outside to me
Is anyone here good with web services? I have a server set up and can run the coveted TempConvert web service so I know the server is set up correct for VB/ASP 4.5 web services and has a good webconfig...
View ArticleWebsite Script to click button on Website and export file to directory?
I have an internal company website that does not come up on the Excel internal browser (Data > From web) so I am trying to find a script that would allow me to go to my company website, click a...
View ArticleRead Specific Value In .csv File
Hi, I am relatively new to this stuff, so please bear with me. I need to search a .csv file for a specific value (a stored variable), and then pull another value out of a different column on the same...
View ArticleVB Script Not Working on All Computers
I am running a VBScript which I want to open an Excel workbook, load a .bas file, then save the Excel workbook. The vbscript works on one PC but not on any other PC. No error is being thrown either....
View ArticleCarry session variables from https to http
I have just moved web hosts and have run in to a problem. With my old host, on one of my client sites, when the user logs in under https, any session variable that was then set under https would then...
View ArticleUpdate Document reference for Internet Explorer
So I'm writing a script in Visual basics to fill out an online form. I'm able to fill out the first form, but after submitting the first the page refreshes with a new form but the internet explorer...
View Article