![]() |
#1
|
||||
|
||||
![]()
Hi there
I have a word doc and have inserted the excel object within it. What I'd like to do is be able to refer to the value of cell A1 within the sheet with the aim of changing it from vba. The goal is for me to get the value of a merge field from a datasource attached to the word doc, then change the cell value in the excel sheet to this merge value. I'd loop through the datasource one record at a time. This would hopefully be a bit of a kludge way of taking advantage of excel's ability to shrink or expand text to fit a box - something I've never found a way to do in a word mail-merge without a lot of trouble. So what I need to know is how to refer to the cell in word vba. Thanks for reading! - I know it's a bit convoluted but I thought I'd better explain it all. |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
tinfanide | Excel | 10 | 08-05-2015 01:17 PM |
![]() |
lily | Excel | 9 | 10-23-2014 06:21 AM |
![]() |
TimTDP | Visio | 12 | 01-26-2014 12:43 AM |
An embedded object's formatting gets jumbled | New Daddy | PowerPoint | 0 | 11-17-2013 08:13 PM |
![]() |
DugganSC | Word VBA | 1 | 08-29-2011 01:40 PM |