2,270 Topics

Member Avatar for
Member Avatar for adity

could any one please help me with the code for creating a MS word document from a record that already exists in the database using vb.Net coding.. thank you in advance

Member Avatar for BigFatMama
0
293
Member Avatar for Klahr_R

A simple timer for Excel VBA Excel VBA does not have a timer control. The alternative is to use the Timer() Function, and that leaves much to be desired. This code should be placed in a code module. My need was to tend to an abandoned program that was waiting …

Member Avatar for Bloodseeker
0
3K
Member Avatar for Eruditio

I've written a script to alter images in a number of Excel workbooks. In order to properly access the image information, I need to iterate through all Sheet.Shapes on a particular worksheet. I'm having trouble with grouped worksheets. **How do I ungroup worksheets from VB.NET?** I've tried both activating and …

Member Avatar for Eruditio
0
819
Member Avatar for imBaCodes

Can anyone help me. I have this excel data that i want to transfer to a ms word. Or can i convert an excel file to word? Thank you!

0
100
Member Avatar for Kath_Fish

Hi, I am doing the determination password protection for workbook without opening the workbook. Is it possible to do determination password protection without open workbook...?

0
75
Member Avatar for jaimin4829

**Hi..I get above mensiond error while converting excel file to pdf please help....** ///Converting excel file into pdf format... string Despath = "D:\\Jaimin\\ExtractData\\"; Microsoft.Office.Interop.Excel.Workbooks myExcelWorkbooks = null; Microsoft.Office.Interop.Excel.Workbook myExcelWorkbook = null; ExcelApp = new Microsoft.Office.Interop.Excel.ApplicationClass(); ExcelApp.Visible = true; object varmiss = Type.Missing; object valmiss = System.Reflection.Missing.Value; myExcelWorkbooks = ExcelApp.Workbooks; myExcelWorkbook …

0
90
Member Avatar for yssirhc

Further along in this code I'm trying to access processRow, which is of type DataRow, but I get a RowNotInTableException This row has been removed from a table and does not have any data. In an attempt to figure out when this data is getting deleted, I added a bunch …

Member Avatar for lolafuertes
0
220
Member Avatar for patrick.weaver.161

Hello group; I have been searching for a way to run an external macro on an excel sheet automatically. I have found some code including this local suggestion http://www.daniweb.com/software-development/vbnet/threads/332821/run-excel-macros-with-vb.net# which looks good but I am baffled by the final instruction **"just remember that you have to have an excel sheet …

Member Avatar for patrick.weaver.161
0
320
Member Avatar for ogrishmania

So I must build an app that has to do with mail address management and more. Let's say the user has an excel file with 2 millions of rows (email addresses). I made it the oledb way and the first mistake I made was putting ~500k rows in a datagridview, …

Member Avatar for ogrishmania
0
458
Member Avatar for Mireya B.

Hello, I am using VBA userform in MS Excel to insert data for database purpose. When I tested it for the first time, it was running okay. But after I saved it and used it again to insert the real data, it happens to repeat/duplicate the data to multiple times …

Member Avatar for Stuugie
0
330
Member Avatar for Thermalnuke

HEy guys, I got possible a stupied question but i was wondering... if you are useing microsoft runtime on all of your clients computer in a office of like 150 clients. If i put a package together with MS runtime and current databases will runtime be able to to automaticlly …

Member Avatar for Thermalnuke
0
178
Member Avatar for darks

guys, i have a pst file on a windows server 2003, this morning it gave issues connecting. when i checked it i realised that the size was 64 kb, run a scanpst and it became 254kb but still there is no information in it. how can i restore or repair …

Member Avatar for Neil_1
0
171
Member Avatar for Thermalnuke

Hey guys, im looking to take my existing excel 2003 spreadsheets (.xlsx) and i need to convert them to (.accde) file format. ive been looking and looking and cant seem to find out how to do it. If i could possible get the steps or how to go around doing …

Member Avatar for Thermalnuke
0
171
Member Avatar for Iggystooge

Hi, This is going to be the least important post you will read, but if anyone can help me, I will still appreciate it. Every fall I have a small weekly football contest with my friends for fun. I have an html file with 20 games on it, players choose …

Member Avatar for Member #46692
0
252
Member Avatar for GeekPlease

Good day folks, I've been wondering how can I open an excel file in vb.net. Can somebody help me? I always get this error below: > The RPC server is unavailable. (Exception from HRESULT: 0x800706BA) Thanks in advance

Member Avatar for GeekPlease
0
678
Member Avatar for rubenrav

My company is using a simple spreadsheet to write down things from control surveys. Then the data is beeing saved in a big and useless program. Since the data is beeing saved to a database, I want to view this same spreadsheet in a ASP.NET page, with the textboxes filled …

Member Avatar for rubenrav
0
254
Member Avatar for spowel4

Is it possible to create a delimited file and structure the delimited file in some way so that opening that file in Excel creates an Excel file with multiple worksheets with data on each worksheet?

Member Avatar for ddanbe
0
97
Member Avatar for bruce.feist

Situation: My VBA program compiles, but fails at runtime when I try to access a specific method. It doesn't seem to matter whether I set the method up as a function or a property get. Here is the code fragment which calls the method: ****** Function roots() As Variant ' …

Member Avatar for WetCoastLife
0
433
Member Avatar for geraldike

Good day pals. please i need a VBA code that could make ms excel automaticly tell the maximum point of a curve in a chart. Secondly, another code that would make it automaticly tell the Y-value of the point of interception i.e when two series or range of values are …

Member Avatar for ddanbe
0
193
Member Avatar for Ancient Dragon

I spent the last 8 or so hours trying to install Microsoft Office 2010 on Windows 8 Pro. Didn't happen. I called iYogi tech support who tryed to help me for the last 3 hours with no success. We finally concluded Office 2010 is not compatible with Windows 8. So, …

Member Avatar for Ancient Dragon
0
367
Member Avatar for PDB1982

I'm trying to generate a random number for each field in column "A" of my spreadsheet, and I have been trying to experiment with the following formula: =LARGE(ROW($1:$1000)*NOT(COUNTIF($A$1:A4, ROW($1:$1000))), RANDBETWEEN(1,1000-ROW(A4))) This is giving me the numerical values that I want, but is affecting both Columns "B" and "C" as well. …

Member Avatar for Stuugie
0
224
Member Avatar for sundog1

Hi Guys... looking for a quick answer on excel Formula.. Anyone know why my text "Please Chase" is not showing up? =IF(ISNUMBER(F2),$F2>TODAY(),"Please Chase")

Member Avatar for Stuugie
0
115
Member Avatar for GeekPlease

Good day folks, lines = IO.File.ReadAllLines(txt_Source.Text) I have here a line of code which reads a text file and save it to an array, It works well. But I wanna ask if there is anything like this code that can be use to read a excel file? Something like this …

Member Avatar for GeekPlease
0
713
Member Avatar for fashxfreak

Hi ! I have a column of 'City', now I want to compare the value of each cell of 'City' against the column 'City_Check'; the cell where the value matches, pick the value of 'City_ID' column & replace the city name with that ID in the 'City column'. * The …

Member Avatar for urtrivedi
0
287
Member Avatar for fashxfreak

I have data in which column 'C' have cells which contain multiple values separated by (,).Now I want to get atomic values in all cells of column 'C'. i.e. that for a cell when there is more than one value; separated by (,) it should be copied in the next …

Member Avatar for fashxfreak
0
997
Member Avatar for andyshera
0
130
Member Avatar for spowel4

I am trying to set the value of cells in an Office 2010 worksheet using this code in Visual Studio 2012: for (int i = 1; i < 5; i++) { xlWorkSheet = (Excel.Worksheet)xlWorkBook.Worksheets.get_Item(i); int columnCounter = 1; foreach (string s in columnNames) { range = ((Excel.Range)xlWorkSheet.Cells[1, columnCounter]); range.Value = …

Member Avatar for spowel4
0
255
Member Avatar for GeoEqual

I want to put the total on the last row of the sheet regardless the number of the records. If 10 rows are populated, i want to put total on 11th row. If 12 rows are populated, i want to put total on 13th row. If I based the adjustment …

Member Avatar for demon916
0
388
Member Avatar for uauaua

hi... I had encountered a problem with ms office. I had uninstalled the older ms office then when I want to install the new one, I had encountered an error during setup. It says that "error 1935. An error occurred during the installation of assembly component{D825F1F0-87AB-11DB-A54F-0090278A1BB8}. HRESULT:0x80070020." I hope someone …

Member Avatar for atechmate
0
483
Member Avatar for GeoEqual

i want to save the image together with excel file. Like this, this is my code converting vb report to word: ActiveDocument.Shapes.AddPicture FileName:="" & App.Path & "\logo1.jpg", Left:=140, Top:=0, SaveWithDocument:=True Is there an option on excel like "SaveWithDocument:=True"

Member Avatar for GeoEqual
0
606
Member Avatar for cmabill

I have tried many options outlook provided, but it still doesn't work. the error box heep prompting up asking me to verify the pop server, my account, and password, after I confirm it, it come up again. when I cancel it, then the dialing prcoess ended with error sugestion.---that the …

Member Avatar for cmabill
0
248
Member Avatar for 404notfound

Today, I had a new project dropped on my desk and was informed that by the end of the week, I need to have exported the entire payroll into a new format. it exports to csv, which is then imported into access, and needs to be exported into a csv …

Member Avatar for 404notfound
-1
258
Member Avatar for cmabill

hello everyone here, I have deleted the office system, but outlook is still there and could run itself, I am not sure that I deleted office compeletely or not, I deleted it from add/delete of control panel, now I can't find outlook in add/delete control panel, but it still could …

Member Avatar for caperjack
0
191
Member Avatar for Knotty13

A message comes up saying Setup cannot continue because a required file is either corrupted or not available. Run Setup again from the original disc or download location. But I went to Microsoft and downloaded it again but nothing happened! What should I do to uninstall it???

Member Avatar for manojkumar283
0
1K
Member Avatar for xLuFeT

hello guys, This is my problem for example. My program is on my computer the image location of my picture is on my computer then i want to debug my program into other computer but the picture is not appear because the location path is changed this is my code …

Member Avatar for tinstaafl
0
204
Member Avatar for kartikguha

I am working on a project in which i do some calculations for products and produce some end results then browse an excel file containing reference value for the products, but now i require that if a particular product is not found, that product should be automatically added to the …

Member Avatar for kartikguha
0
4K
Member Avatar for andyshera
0
196
Member Avatar for spowel4

I am opening a tab-delimited file in Excel 2010; the delimited file displays correctly in Excel but when I do a save as, to save it as a native Excel 2010 format, the resulting saved file is empty. The resulting saved file generates no errors when debugging and saves with …

Member Avatar for spowel4
0
330
Member Avatar for andyshera

Hello everyone my name is andy... is anyone know how to make a simple data entry worksheet in excel 2007? i noticed that excel 2007 have a form control inside the developer tab i can add input text box and command button in sheet1 but i dont know what syntax …

Member Avatar for jwenting
0
253
Member Avatar for Nebil

Hi guys,i just wanted to know how to export a record when ever a user clicks from a listview and export it to excel by adding a worksheet whenever the record is more than 3,basically excel offers 3wrk sheets. can u help?Thank You!!!

Member Avatar for Nebil
0
362
Member Avatar for Jacobah

Hi I try to convert ppt to video:; i know that CreateVideo is part of presentation. but, when i try this i have this error: Inline Code Example Here Looks like createvideo is not part of presentation. Microsoft.Office.Interop.PowerPoint.Application pptApplication = new Microsoft.Office.Interop.PowerPoint.Application(); Microsoft.Office.Interop.PowerPoint.Slides slides; Microsoft.Office.Interop.PowerPoint._Slide slide; Microsoft.Office.Interop.PowerPoint.TextRange objText; // Create …

Member Avatar for Jacobah
0
1K
Member Avatar for leghorn

hi ya'll I have been trying to convert my text file to excel and inducing filters in the .xls,but failing .. internet doesnt help much or atleast I havent fount anything worthwhlie Could u plz help ?? ~cheers

Member Avatar for CimmerianX
0
73
Member Avatar for ppstyle

I am using this function to convert the contents of my richtextbox to html: Public Function myRTF_To_HTML(ByVal sRTF As String) As String Dim MyWord As Microsoft.Office.Interop.Word.Application Dim oDoNotSaveChanges As Object = Microsoft.Office.Interop.Word.WdSaveOptions.wdDoNotSaveChanges Dim sReturnString As String = "" Dim sConvertedString As String = "" Try MyWord = CreateObject("Word.application") MyWord.Visible = …

Member Avatar for tinstaafl
0
261
Member Avatar for ppstyle

I am trying to add an excel file(.xlsx) as a database to my vb.net 2010 project. But it does not recognize excel as a database type, it can only connect with access or sql. Any idea how excel can be connected to the project? Or should I just use file …

Member Avatar for Jx_Man
0
94
Member Avatar for TnTinMN

Would be possible to have a new category added to Software Development for MS Office macros (VBA)? Right now these types of questions often get asked in the VB.Net forum. The best match available is VB4/5/6, as VBA is a VB6 dialect, but this also not a good option as …

Member Avatar for pritaeas
0
97
Member Avatar for darkocean

Whenever I want to delete row my excel file in c#. I have get error. I tried much much codes on the net but I can not solve my problem. Please solve my problem... Regards,

Member Avatar for santiagoivan.santana
0
9K
Member Avatar for cyberdaemon

Good day, I am having trouble with the excel file that i was uploaded.. after i uploaded the excel file i want to validate each header and each datatype of it. just to make sure that my dbase has integrity.let say i have 10 columns. Is there a way on …

Member Avatar for Nalestard
0
315
Member Avatar for elanch

hi friends! From my Microsoft Access form I would like to hyperlink to a pdf document. At present each record contains a document name and a full file path to where the document is stored. I would like to open adobe Reader and view the specified document. please give me …

Member Avatar for daniROC
-1
3K
Member Avatar for EkoX

Hello friends, I'm tring to make excel file using vb but i don't know how to do it. There anyone know how to do this. Thank you. Eko

Member Avatar for EkoX
0
483
Member Avatar for bklynman01

I have a program I wrote a few years ago that interfaces largely with MS Excel. At the time my company used Office 2007. We have since upgraded to 2010 with no problems. However, I had to make some adjustments, and now I can not compile. The error is Error …

Member Avatar for bklynman01
0
195

The End.