Visual Basic Classic

163K

Solutions

42

Articles & Videos

51K

Contributors

Visual Basic is Microsoft’s event-driven programming language and integrated development environment (IDE) for its Component Object Model (COM) programming model. It is relatively easy to learn and use because of its graphical development features and BASIC heritage. It has been replaced with VB.NET, and is very similar to VBA (Visual Basic for Applications), the programming language for the Microsoft Office product line.

Refine results

I've got some old VB6 code that's been maintained by a bunch of different people over the years (bet you've never heard that one before!). I know there are a handful of modules that are no longer used…

610 views
Courses: Start Training Online With Pros, Today
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Hi guys,

I need some quick help again,

bmName is a variable that loops through Bookmarks, and I need to check that when bookmark "side1" or when bookmark "side2" is bmName then it should do …

1527 views

Good evening,
I read the dialog between your expert OMGang and the author of the  procedure "Public Sub Draft_Message()" which seemed to me almost exactly what I need in order to send mails with an …

513 views

Dear Experts,
I want to copy from 1..n excel sheets, all in the same folder named: WVS_2015_02_01.xls .. WVS_2015_02_28.xls from sheet 'MyData' the content of cell range E31-E51 to a destination …

231 views

Hello experts,

I use the following procedure in order to copy range dynamically based on a config sheet:

(CODE)

Hello experts,

I use the following procedure in order to copy specific …

332 views

Why am I getting an error "Sub or Function is not defined"...Here is my code

Form 2
(CODE)

Form 1.....Call my function "printReport" here
(CODE)

The error message goes here "Private Sub …

627 views

Hello all;
I have run into an issue that I cannot seem to get any information on.
I have a Mobile page designed, for membership.
The Form has a date selector on it, with type="date"
And it is not …

422 views

When I run myprogram.exe it shows "Publisher:  Unknown".
How can I add my company name so it displays, Thank You

120 views

we receive about 3000 emails (invoices) a day with pdf attachment each with a different format we need to open them check 5 fields, based on those fields copy paste (save attachments) to respective …

736 views
The Email Laundry

A company’s greatest vulnerability is their email.

CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of …

08 views
Gigs: Get Your Project Delivered by an Expert
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Hi,

I would like to  to scroll into Picture2 using my mouse wheel. So far i was using the VScroll1.

How can i do that?

Thanks for your help.

So far, i was doing:
(CODE)

1344 views

I am attempting to use RUNRMTCMD to fire a visual basic script that uses Excel automation.  I want to open an excel file and saveas .csv and/or .pdf.  

I have gotten this to work while running the …

1245 views

Using VBscript & RegEx, how can I match lines starting with Oracle word in the below sample:

"OracleJobScheduler"                                check      12            TEST
"OracleMTSRecoveryService"                  check      87            Down
"Oracle…

1759 views

Hi Guys, I have got an Excel attachment which I am trying to do a VLookup on, but instead of showing the result, it shows just the Vlookup formula. Anyone got any ideas why? In the attached, in cell …

627 views

Looking for a vbs script that will send an outlook email.

229 views

Need email sent automatically when date is entered in any independent cell in column E3:E45.

(CODE)
(Edit: Added CODE tags)

437 views

I'm looking for the best way to automatically email out a report everyday.  I have an excel file with some vba code on it.  There is a macro setup to run a procudure on the excel file.  I need to have…

239 views

Using Visual Basic 6.
FileDateTime only gives the Date Modified.
I need to read the Date Created and have it work on XP, Vista and Win7.
The FileSystemObject seems to warn about compatibility …

839 views

Hi Experts,

Kindly find the Sample Data for 8 files and 8 .csv sample Files attached.

In the attached Excel File
---Basic Data is in Columns E:AI
---Data is always Sorted as per Column AJ

26104 views
Live: Real-Time Solutions, Start Here
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

I managed to get the data in a Array:

Fielddata = SQLdata.Fields(2).Value
wscript.popup Ubound(Fielddata) 'result in a big number

I tried this :
Dim dom: Set dom = …

336 views

Question:
How do you exclude a sub directory that is included in the selected directory

The code below excludes files

Dim sa As New CkStringArray
dim sTemp as string

 sTemp …

138 views

Hi, I am trying to figure out a scheduler task I can inject via group policy that will run as follows:
Will run daily and do the following:
Check the system uptime and if uptime is greater than 14 …

1247 views

Hello Experts,

I have a fairly complex macro which concludes as follows -

(CODE)

Currently the section under ############## is validating the boll rates against the worksheet 'Ratecard' …

1663 views

Hi Experts,

I need some code to create FILES for the Selected Range
--Name as per Column G
--File extension as per Column H
--in Folder given in Column I

Sample file is attached.

1239 views

I had this question after viewing Excel VBA When using VLookup (https://www.experts-exchange.com/questions/28993963/Excel-VBA-When-using-VLookup.html).

Hello All,

I have an excel file that …

1969 views
Show more content
201506-LO-Top-001

TOP EXPERTS

view all

RELATED TOPICS view all topics

  1. MS Excel
    (129,433)
  2. VB Script
    (36,399)
  3. MS Access
    (216,157)
  4. .NET Programming
    (131,929)
  5. Visual Basic.NET
    (92,126)
  6. MS Development-Other
    (47,949)
  7. Programming Languages-Other
    (19,711)
  8. Programming
    (52,030)
  9. MS Office
    (57,234)
  10. MS Word
    (27,061)