Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 169
Default Labeling shapes on a spreadsheet via VBA

Sorry for the crosspost (also in microsoft.public.excel), but my multi-post
didn't work.

I've got an Access application in which I have a routine to build a visual
representation of several project timelines on an Excel spreadsheet.

I'm putting the months in Row 1, days of the month in row 2 (columnwidth=2),
and on each successive row, I'm adding a description in Column 1, and several
shapes that depict:
1. a line depicting the span of the project
2. several boxes depicting interim events along the project timeline
3. a textbox that describes each of these events

I have two questions:
a. Is there a way to add a control tip or something like that so that when
I mouse over one of the shapes (#1 or #2 above), it displays some details
associated with that shape? Maybe even a comment associated with the shape.
If so, how would I do this via code
b. Is there a way to "autofit" the textbox (#3 above)? When I build the
textbox, it currently has the same width as the shape it is associated with
(#1 or #2). But I would like to get it to grow or shrink to the appropriate
width (all on one line). How would I do this programmatically?

----
HTH
Dale

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
Labeling shapes on a spreadsheet via VBA Dale Fye Excel Discussion (Misc queries) 0 January 22nd 10 02:13 PM
excel document with shapes on it but the shapes do not print [email protected] Excel Worksheet Functions 2 October 22nd 09 06:17 PM
Naming Auto Shapes and Creating new Shapes AL2000 Excel Discussion (Misc queries) 3 September 10th 07 04:12 AM
When drawing shapes in excel the shapes keep disappearing Tape Excel Discussion (Misc queries) 1 October 6th 06 04:23 PM
How can i get more 3D shapes for Auto shapes in excel? Ajey Excel Discussion (Misc queries) 0 March 3rd 05 09:53 AM


All times are GMT +1. The time now is 04:29 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"