VBA Questions and Answers

Recent IT Questions

41 - 60 of 156

Export or Import data Excle to Excel (VBA coding)

Hi Experts Pls How to possible Export or Import data Excle to Excel (VBA coding) Ananda Debnath

View Answer   |  Apr 6 2009  12:15 AM GMT
VBA, Microsoft Excel, Excel import/export
asked by AnandaDebnath

  260 pts.

Access 2003 using VBA

I am trying really hard to produce these tables. But when it came to populating the information into them, it was throwing up errors. Ive managed to sort most of them out, but this one for WeeklyUnitStaffRota table is annoying me. Can anyone have a look at the tables and see where I could have...

View Answer   |  Apr 3 2009  2:10 PM GMT
VBA, Access 2003, RDBMS
asked by Loopymoo26

  5 pts.

DoCmd.OpenReport not working right with WHERE clause

I have looked all over and seen hundreds of questions about this command, but no answers. It seems like the most basic thing you can do with combo boxes, so I'm baffled that it doesn't work. Here is my VBA Code: Option Compare Database Private Sub cboFundNumbers_AfterUpdate() Const...

View Answer   |  Apr 1 2009  10:20 PM GMT
Access 2003, VBA, DoCmd.OpenReport
asked by Pubfin

  15 pts.

PDF SAVE AS TXT FILE

How I Can A Pdf File Save As Text file through VBA coding (Xls) Acctualy I want to Insert data into Xls sheet at text mode from Pdf File through VBA Coding, So, I wish the following Steps Step-1 Pdf SaveAs Txt file (Through VBA Code by Specific Path) Step-2 Impot Data from Txt file into...

View Answer   |  Apr 1 2009  4:32 AM GMT
VBA
asked by AnandaDebnath

  260 pts.

Convert numbers to text with VBA (ie 10 to be Ten)

I want to conver number to word ie. if 10 it to be Ten, if 540 it to be five hundred forty so on

asked by AnandaDebnath

  260 pts.

PDF save as TXT file (VBA)

HI EXPERTS PLEASE SOLVE IT I WANT TO SAVE AS TXT FILE FROM PDF FILE THROUGH VBA (XLS) CODING; I WANT TO GET THE DATAs AS TEXT MODE FROM A SPECIFIC PDF FILE IN EXCEL SHEET PLEASE ANSWER IT ANANDA DEBNATH DELHI, INDIA

Answer Question   |  Mar 31 2009  4:01 AM GMT
VBA, Visual Basic for Applications, Microsoft Excel
asked by AnandaDebnath

  260 pts.

VBA - selecting middle portion of a string

I'm having trouble pulling the middle portion out of a dynamic string. Ex: Orginal String 1 = John Doe, Age 35 (asd) Original String 2 = Tom Thompson, Age 100 (jkl) I need the code to produce... New String 1 = 35 New String 2 = 100 I've tried to research this, but am new to VBA and a lot of...

View Answer   |  Mar 30 2009  10:14 PM GMT
VBA, String manipulation, Excel 2003
asked by McNitro

  160 pts.

Barcode scanner that dumps into text file

Hi, I'm going to try to implement a barcode system to keep track of inventory. I was wondering if anyone can suggest the best handheld scanner to get that will let us scan several barcodes and then dump the scans into a text file? Or if anyone know of another better way to accomblish this. I'm...

View Answer   |  Mar 30 2009  6:26 PM GMT
Barcode scanners, Barcode Readers, Barcode
asked by RoadDust

  390 pts.

Excel 2003 Help: How to delete duplicates from specific colums and criteria

Hi I have already sent my question here: http://www.vbforums.com/showthread.php?p=3477514#post3477514 But I will ask the same again: In my Excel file I have several columns and lots of rows. I want the macro to check the column named REF (let say it's in the B column). And it will check if...

asked by Groom

  5 pts.

Macro toolbar buttons

what format are they and how do i use them

asked by Bumblbee

  10 pts.

Application.FileSearch no longer exists (in 2007)

My company is migrating to Office 2007 - I have VBA code that works wonderfully in "older" versions of Access, but will not work in 2007. One in particular is "Application.FileSearch" - what can I use instead? (And why was it removed??)

View Answer   |  Mar 17 2009  7:26 PM GMT
Office 2007, Microsoft Access, Access 2007
asked by Dhoosier

  5 pts.

Visual Basic code

how to copy data to another sheet using visual basic

View Answer   |  Mar 13 2009  9:19 PM GMT
Visual Basic, Visual Basic for Applications, VBA
asked by Geekhead

  5 pts.

Need Help With Multiple Conditions and Constraints for Access 2007 VBA Event

Hi, I’m working with VBA for On Click Event procedures in Access 2007. My knowledge of Visual Basic is rudimentary and I've come against a business rule I can't even begin to figure out how to code. I work at a college and was asked to build a database for a student conference we're hosting....

asked by Dataempress

  60 pts.

Looping to create new workbooks using a set "transaction" number

I'm playing around a bit and can't figure out why the following code does not save a total of 5 files in My Documents(default) The files should be named in a sequence of 1 - 5 (In my Excel spreadsheet (A1)=1 and (A4)=5) The code works once through, but when ".SaveAs Filename:=Start" comes back...

View Answer   |  Mar 6 2009  10:49 PM GMT
VBA, Excel VBA, LOOP statement
asked by McNitro

  160 pts.

MS Access Tools References...

Cheers, Does anyone know where I can get a list of what a specific reference in Access can do. Specifically, I have VB.NET code that Imports System.Web.mail that I would like to use in my vba code. I have had luck with similar .NET code: I used the reference Microsoft Excel 12.0 Object Library...

View Answer   |  Mar 4 2009  5:38 PM GMT
VBA, Microsoft Access, VB.NET
asked by Rjwilcox

  30 pts.

How to convert VBA decimal DataTypes

I need to figure out how (if possible) to remove decimals from numerical data, and add zeroes to the front/back end of data so that I can concatenate several cells into a single strain. Ex: Actual value = 14.37, needs to be converted to 14370 Actual Value = 4.3, needs to be converted to 04300 ...

View Answer   |  Mar 2 2009  10:02 PM GMT
VBA, Concatenate, VBA DataType
asked by McNitro

  160 pts.

Excel 2003 VBA drop down list and discontinuous ranges

I am attempting to populate a drop down list in excel using data validation and data contained in two discontinuous ranges. I have used the Union command in vba to create a named list which seems to correctly concatenate the two data ranges but when I validate the cell which is to contain the drop...

Answer Question   |  Feb 27 2009  3:43 PM GMT
Excel 2007, VBA EXCEL 2003, VBA
asked by TeradyneBenzene

  10 pts.

Microsoft Access AutoNumber

Hi , I want to add a row of serial number for the existing records in MS access .Whenever I am trying to define a new row with type as "Auto Number" and save the same it automatically gets changed to Text type.Please suggest.Also, the requirement is modified and now the serial number has to be of...

asked by Ansh123

  20 pts.

Can any one correct this Microsoft Excel VBA code?

ANY ONE CORRECT THIS Sub fill_series() Dim myrange As Range Set myrange = ActiveCell.Offset(0, 5) Range("N9").FormulaR1C1 = "Apr-2008" Range("N9").Select Selection.AutoFill Destination:=myrange, Type:=xlFillDefault End Sub

Answer Question   |  Feb 24 2009  9:47 AM GMT
Excel VBA, VBA, Visual Basic for Applications
asked by Sa29153

  40 pts.

How to update data using Microsoft Excel VBA?

I HAVE A CELL "A1=NUMERIC VALUE" & "A2=NAME OF PARTY" WHICH IS UPDATED EVERY MONTH AND I WANT TO SAVE IT WITH "DATA" SHEET WITH EACH PARTY NAME(CELL A2) AND ITS MONTHWISE VALUE(CELL A2).HOW CREATE DATA SHEET WITH MONTHLY COLOUM NAME I.E : DATA SHEET: NAME OF PARTY APRIL08 MAY08 ...

Answer Question   |  Feb 24 2009  9:46 AM GMT
Excel VBA, VBA, Visual Basic for Applications
asked by Sa29153

  40 pts.

41 - 60 of 156