Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info.
SEARCH THE FOXITE.COM VISUAL FOXPRO FORUM ARCHIVES
Please enter one or more search terms:
search (case insensitive):


order by:


sort:
SEARCH RESULT Results 11676 - 11700 of 13368 for Excel. (0.4992032 seconds)


RE: Text files to DBF
Thread ID: 321993 naveed shahid RE: Text files to DBF Cetan, thanks for the code. I am testing it. > ** Search prg files that contain "excel" AND "application" AND "chart" ** Subfolders yes ** Ignore case ** Whole words only ** Check tools\Filer - it uses the same dll lcStartDir = Fullpath("") lnFiles = GetTree(m.lcStartDir,'*.prg', 'myCursor', .T., .T., .T., .T., "excel", "application", "chart") Select * From myCursor Order By filepath,filename > Function GetTree Lparameters tcStartDir,tcSkeleton,tcCursorName,; tlSubfolders,; tlWholeWords,tlIgnoreCase,tlSearchAnd,tcSearch1,tcSearch2,tcSearch3 Create Cursor (m.tcCursorName) ; (filepath c(250), filename c(250), ; FileSize

RE: Text files to DBF
Thread ID: 321993 naveed shahid RE: Text files to DBF THANKS. IT WORKS. ** Search prg files that contain "excel" AND "application" AND "chart" ** Subfolders yes ** Ignore case ** Whole words only ** Check tools\Filer - it uses the same dll lcStartDir = Fullpath("") lnFiles = GetTree(m.lcStartDir,'*.prg', 'myCursor', .T., .T., .T., .T., "excel", "application", "chart") Select * From myCursor Order By filepath,filename > Function GetTree Lparameters tcStartDir,tcSkeleton,tcCursorName,; tlSubfolders,; tlWholeWords,tlIgnoreCase,tlSearchAnd,tcSearch1,tcSearch2,tcSearch3 Create Cursor (m.tcCursorName) ; (filepath c(250), filename c(250), ; FileSize i, fattr

RE: text query
from the list and will replace the text field. But I am not satisfy with that Procedure. > I will tell the example like in excel , if having same data in a column, when we type anything in the new row in the same column , if the letter exist in the above column It comes automatically and also user can type next letter . if this 2 letter matches another name that will come automatically. > I think you understand what I need. > Example in excel > CAMEL

RE: text query
Thread ID: 146367 Sajan Jacob RE: text query Hi Tushar Dropdown is used in some other text which i know. But in vfp8 is it possible which is exactly like in excel when we get result when we type. But I have seen this type of output in one of my friend's software but that i don't know which is created in vfp8 or 9. Sajan > This is available as Autocomplete in version 9. For version 8, you can use a dropdown list instead. > Regards Tushar Hi > In my form... it evokes list with all customer,select customer name from the list and will replace the text field. But I am not satisfy with that Procedure. > I will tell the example like in excel , if having same data in a column, when we

RE: text query
Thread ID: 146367 tushar RE: text query Hi Tushar > Dropdown is used in some other text which i know. But in vfp8 is it possible which is exactly like in excel when we get result when we type. But I have seen this type of output in one of my friend's software but that i don't know which is created in vfp8 or 9. > > > Sajan > This is available as Autocomplete in version 9. For version 8, you can use a dropdown list instead. > Regards Tushar Sajan Take a look at http://www.alvechurchdata.co.uk/foxautocomplete.htm Regards Tushar

RE: text query
like in excel , if having same data in a column, when we type anything in the new row in the same column , if the letter exist in the above column It comes automatically and also user can type next letter . if this 2 letter matches another name that will come automatically. > I think you understand what I need. > Example in excel > CAMEL SALES P.LTD. COMPAQ SERVICES LTD. LENOVA HP SERVICES LTD. IBM SERVICES LTD. > If the user type CO in next

RE: text wrap in excel
Thread ID: 163253 Mike Gagnon RE: text wrap in excel Hi > Please help to do text wrap a cell in excel than autofit ,that is passed from foxpro. > gita oExcel = Createobject("Excel.application") oWb = oExcel.Workbooks.Add oRange = oExcel.Range("B8").Select oSelection = oExcel.Selection oSelection.WrapText = .t. oSelection.Value = "Please help to do text wrap a cell in excel than autofit ,that is passed from foxpro." oExcel.Visible = .t. Mike Gagnon Refox XI +(English version)

RE: Text/Excel Data Import Wizard in my Applica...
Thread ID: 70776 Yuri Rubinov RE: Text/Excel Data Import Wizard in my Applica... There is Wizard.app that is installed into the foxpro defaul directory. You may call it like: DO "c:\program files\microsoft visual foxpro 7\Wizard.app" WITH "Import" See if you can incorporate it into your project. Also you may borrow ideas when reviewing code provided in VFP XSOURCE.ZIP file. My application requires a text or excel data import wizard functionality that lets you select the file type, the columns and then indicate in which existing foxpro fields the data are to be imported. Possibly you drag the source fields to the destination foxpro data fields. > Any ideas how this could be implemented

RE: TextToColumns issue
Thread ID: 210649 Anil Sharma RE: TextToColumns issue Hi freinds, > I'm working with excel automation where I want to pull excel data to my table . But sometime it is failed becoz field type in excel is differ. My code will only work when sepecific data range in excel file is general format i/o text format. So I decided to go for excel inbuilt TextToCoumns(). > code is #Define xlDelimited 1 #Define xlDoubleQuote 1 .Selection.TextToColumns... FieldInfo=Array(1,1) in VFP OLE ? > Subhankar array is passed to excel is something like @arrayname dimension arrayname[1,1] .Selection.TextToColumns("A1", 1, ; 1, .F., .T., ; .F., .F., .F., .F.,@arrayname

RE: TextToColumns issue
Thread ID: 210649 subhankar pandey RE: TextToColumns issue array is passed to excel is something like @arrayname > > dimension arrayname[1,1] .Selection.TextToColumns("A1", 1, ; 1, .F., .T., ; .F., .F., .F., .F.,@arrayname,.T.) > Anil My Blog Anil, Nope, it is still displaying the same error msg . attached screen shot file for more details regards Subhankar

RE: TextToColumns issue
Thread ID: 210649 Yousfi Benameur RE: TextToColumns issue Hi freinds, > I'm working with excel automation where I want to pull excel data to my table . But sometime it is failed becoz field type in excel is differ. My code will only work when sepecific data range in excel file is general format i/o text format. So I decided to go for excel inbuilt TextToCoumns(). > code is #Define xlDelimited 1 #Define xlDoubleQuote 1 .Selection.TextToColumns("A1", DataType=xlDelimited, ; TextQualifier=xlDoubleQuote, ConsecutiveDelimiter=.F., Tab=.T., ; Semicolon=.F., Comma=.F., Space=.F., Other=.F.,FieldInfo=Array(1,1),; TrailingMinusNumbers=.T.) But VFP treat datatype

RE: TextToColumns issue
Thread ID: 210649 Cetin Basoz RE: TextToColumns issue Hi freinds, > I'm working with excel automation where I want to pull excel data to my table . But sometime it is failed becoz field type in excel is differ. My code will only work when sepecific data range in excel file is general format i/o text format. So I decided to go for excel inbuilt TextToCoumns(). > code is #Define xlDelimited 1 #Define xlDoubleQuote 1 .Selection.TextToColumns("A1", DataType=xlDelimited, ; TextQualifier=xlDoubleQuote, ConsecutiveDelimiter=.F., Tab=.T., ; Semicolon=.F., Comma=.F., Space=.F., Other=.F.,FieldInfo=Array(1,1),; TrailingMinusNumbers=.T.) But VFP treat datatype

RE: TextToColumns issue
Thread ID: 210649 subhankar pandey RE: TextToColumns issue Hi freinds, > I'm working with excel automation where I want to pull excel data to my table . But sometime it is failed becoz field type in excel is differ. My code will only work when sepecific data range in excel file is general format i/o text format. So I decided to go for excel inbuilt TextToCoumns(). > code is #Define xlDelimited 1 #Define xlDoubleQuote 1 .Selection.TextToColumns... Basoz Cetin, I was asked for how to fix open excel file records (not to open text file throw excel ) should be delimted to general format in .Columns("A:A"). However, thanks for the array declaration concept, I will use

RE: TextToColumns issue
Thread ID: 210649 Cetin Basoz RE: TextToColumns issue Subhankar, I am amazed with your understanding. Given the code needed to fill arrFieldInfo I thought you could apply to your case (though I prefer OpenText). Anyway here is the sample ...

RE: TextToColumns issue
Thread ID: 210649 subhankar pandey RE: TextToColumns issue Subhankar, I am amazed with your understanding. Given the code needed to fill arrFieldInfo I thought you could apply to your case (though I prefer OpenText). Anyway here is the sa...

RE: Thank You Eric & Foxite Contributers
Thread ID: 149559 Eric den Doop RE: Thank You Eric & Foxite Contributers This morning a developer working for me on a project had this comment to make: > "You know, I getting to like this site Foxite more & more" > Turns out he is not a member, has never been and had been searching Google for solutions on Automation with Excel, and almost every solution he found was from a post in Foxite!! > He's realizing now what I have known for many years. > Congrats and Thanks Eric and all contributers. > > Bernard > ** If you see someone without a smile, give em one of yours :) ** And congrats to your developer! -- Eric den Doop www.foxite.com - The Home Of The Visual FoxPro Experts

RE: Thank You Eric & Foxite Contributers
Thread ID: 149559 Thomas Bähr RE: Thank You Eric & Foxite Contributers This morning a developer working for me on a project had this comment to make: > "You know, I getting to like this site Foxite more & more" > Turns out he is not a member, has never been and had been searching Google for solutions on Automation with Excel, and almost every solution he found was from a post in Foxite!! > He's realizing now what I have known for many years. > Congrats and Thanks Eric and all contributers. > > Bernard > ** If you see someone without a smile, give em one of yours :) ** well done, and many thx to Eric for is effords on the site. Thx! Thomas

RE: Thank You Eric & Foxite Contributers
Thread ID: 149559 Ken Murphy RE: Thank You Eric & Foxite Contributers This morning a developer working for me on a project had this comment to make: > "You know, I getting to like this site Foxite more & more" > Turns out he is not a member, has never been and had been searching Google for solutions on Automation with Excel, and almost every solution he found was from a post in Foxite!! > He's realizing now what I have known for many years. > Congrats and Thanks Eric and all contributers. > > Bernard > ** If you see someone without a smile, give em one of yours :) ** And did he sign up for a membership???? Ken You shall know the truth - and the truth shall set you free. (John 8:33)

RE: Thanks BL//// How to send to recepient from...
Thread ID: 10678 Boudewijn Lutgerink RE: Thanks BL//// How to send to recepient from... Hi All, > Automating office is fun, however I do have a Q. > I create a graph through excel and I copy the chartarea to the clipboard. Next i close the workbook and the app. Before that happens I get the message and the question that there is a large amount of data on the clipboard and whether I would like to use it for pasting into another application. Well sure enough I want that so I do not need (or want) excel to act as if it is intelligent. How do I suppress this msg? Next Q is that when I open word and paste that same graph into the document I get a message about macros and whether I want to enable them

RE: THANKS DEAR BORISLAV BUT REGRET...
Thread ID: 77423 Borislav Borissov RE: THANKS DEAR BORISLAV BUT REGRET... #DEFINE xlPasteValues -4163 #DEFINE xlNone -4142 oExcel = CREATEOBJECT("Excel.Application") oExcel.Visible = .t. oExcel.DisplayAlerts = .f. oExc...

RE: Thanks Eric and Karben
Thread ID: 19415 Benny Thomas RE: Thanks Eric and Karben Can anybody provide the code to open an existing MS Excel file from VFP6 and read a cell data and assign that as a value for a text box on a form. A search on this forum showed how to create a new Excel workbook in VFP but could not find the code to open an existing Excel File. No need to show the excel file, but only open and read the data from the file. > Thanks for any help. > Benny Thomas > loExcel = CREATEOBJECT("Excel.Application") && Create the Excel object loWorkBook = loExcel.Workbooks.Add && add a new workbook loWorkSheet = loWorkBook.Sheets(1) && select first sheet loRange = loWorkSheet.Range

RE: Thanks Erik
Thread ID: 13474 Khalil Shaddad RE: Thanks Erik Hi, > In reality I did not post all my code. following is my code: oExcel = CREATEOBJECT([Excel.Application]) oExcel.Visible = .T. > WITH oExcel .Workbooks.Add .ActiveWorkbook.Sheets(1).Activate .ActiveSheet.PageSetup.CenterHorizontally = .T. && "True", 1 .ActiveWorkbook.SaveAs((lcSaveFileName)) .Quit && Quits Excel, otherwise still open and invisible the following http://www.foxite.com/uploads/q90crr62.gif is what I am getting using: .T., "True" , 1 any other sugestion? Khalil Shaddad (Lebanon) > Khalil, > Your code runs fine with my Office 2000. What version of Excel are you using? -- Eric den Doop www.foxite.com

RE: Thanks Erik for the VBA constants file
Thread ID: 17758 Toms RE: Thanks Erik for the VBA constants file Erik, Thanks too. I also downloads it. Toms Erik, > Thanks. This is going to save me a lot of development time. > Bebot > > > Erik, > I would like to get hold of that Excel file, if you don't mind. Kindly e-mail to me. > thanx in advance Bebot > > I have an Excel file the lists all VBA constants for Office 97, if you want it let me know. > Erik Gomez www.foxite.com - The Home of The Visual FoxPro Experts Long Live www.foxite.com hi Bebot, > sure no problem... since i don't have your email address. i uploaded it. please get it from the link below. > http://www.foxite.com/uploads/ty0g1n58.zip > Erik

RE: Thanks VFP Help
? I'm still grateful for your suggestion (and might I add you seem to be the King of Word and Excel objects...did you learn all that on your own or are there some books you could suggest?) Best, Judy

RE: Thanks VFP Help
Thread ID: 68929 Yuri Rubinov RE: Thanks VFP Help Judy, Thanks, though I see other people with good experience with automation as well. Basically I am using VBA help for Word/Excel, or I record macros in Wiord/Excel and translate them into VFP. Also I like to review forum questions that I do not have experience with: then I try to solve the problem on my own and in most cases I gain the experince this way. There is also a good book written by Tamar Granor and Della.../Excel. Hi Yuri: > I never got that far down in the help topic...notice it's nestled way at the bottom? I'm still grateful for your suggestion (and might I add you seem to be the King of Word and Excel objects...did


Result Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535