Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
AW AW is offline
external usenet poster
 
Posts: 5
Default Filling Userform in Word with Excel cell value.


I am opening a Word document from Excel. I then wish to take a cell value
from excel and populate a textbox on a userform in Word.
Using the code below, the TextBox isn't populating and I'm getting a Run
Time error(438). Please can anyone point to the cause of the error.

MyDoc.UserForm("frmCCS").TextBox("txtCostNon").Val ue =
Worksheets("Sheet1").Cells(25, 5).Value


Thanks

Al@n


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
visual basic help Excel/word form filling in laandmc Excel Discussion (Misc queries) 1 September 25th 08 01:12 PM
Excel 2002: Suggestion for speed filling cell horizontally Mr. Low Excel Worksheet Functions 1 February 22nd 08 01:54 PM
Filling cells with Word text characters GlennB Excel Discussion (Misc queries) 0 November 27th 06 07:19 PM
filling information from one cell and filling another. Dianne Excel Worksheet Functions 1 August 15th 05 08:14 PM
Filling excel entire row/column instead of single cell from an array shitij Excel Worksheet Functions 3 July 13th 05 07:44 AM


All times are GMT +1. The time now is 06:40 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"