Hi guys, brand new here as you can see. Brand new to VB too, although pretty good at HTML, asp, VBScript, Java script.
This will seem simple to you guys, but I am stuck here! The intended application is the simple user box displayed in an Excel workbook, shown in the thumbnail below. It's all static content, nothing interactive, and I've got it put together except for one thing: I want the main text in the box to contain a volatile value, info that is taken from a cell in one of the worksheets. Right now, it's coded in at design time to say "September 23, 2010 or 146,240 miles" but I want that text line to change both the date and mileage reference in real time, taking the value from elsewhere in a cell of the worksheet. I've set the form up so that that text line is the caption of Label1. I've tried everything I can think of to reference the proper cell, but it either ignores my coding or it returns a compile or runtime error. Now I'm wondering if a Label control can't have a caption that draws its value from a data source, like a worksheet cell. Can you help, please? I'd really love some coding/syntax suggestions to accomplish this. TIA for your assistance.
Annie
This will seem simple to you guys, but I am stuck here! The intended application is the simple user box displayed in an Excel workbook, shown in the thumbnail below. It's all static content, nothing interactive, and I've got it put together except for one thing: I want the main text in the box to contain a volatile value, info that is taken from a cell in one of the worksheets. Right now, it's coded in at design time to say "September 23, 2010 or 146,240 miles" but I want that text line to change both the date and mileage reference in real time, taking the value from elsewhere in a cell of the worksheet. I've set the form up so that that text line is the caption of Label1. I've tried everything I can think of to reference the proper cell, but it either ignores my coding or it returns a compile or runtime error. Now I'm wondering if a Label control can't have a caption that draws its value from a data source, like a worksheet cell. Can you help, please? I'd really love some coding/syntax suggestions to accomplish this. TIA for your assistance.
Annie
Comment