Skip to content

xxdoc/VB6ExcelProcessor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VB6ExcelProcessor

Uses VB6 to open - read one sheet to an array - switch to another sheet and write that data with some processing - save and close

You need MS Excel installed and referenced in your project. In VB6 with you project open, click Project in the menu then References (it is near the bottom) scroll until you find Microsoft Excel (your version) Object Libray and check the box to the left. Click OK.

This is NOT meant as a best practice or anything like that, it is meant as a super simple way of doing a few things with an Excel file, I decied to created it for a question on Reddit, being that I used VB6 for a long while (but obviously not for a while) I thought I'd give it a whirl again.

This project uses the Common Dialog Box to select the excel file via the Select button, once selected use the process button to well process the file.

My dev environment is XP SP3 Pro - 32bit in a VirtualBox (6.1.34), MS Office 2007 Pro and VB 6 version 8176

Screenshots When you start the app

just started - before selecting a file

Selecting an Excel file using the common dialog box

dialog box to select file

After the file has been selected

after selecting a file

After clicking the Process button the log is filled after processing the selected file

Note: the Excel file can not be open in Excel for it to be used.

About

Uses VB6 to open - read one sheet to an array - switch to another sheet and write that data - save and close

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • VBA 100.0%