Auto Shapes Name, Text, Postition & Properties
Mar 14, 2008Im assigning some codes to certain autoshapes. I have a few hundred autoshapes to assign this code to. Whats the best way to determine the name of the autoshape?
View 3 RepliesIm assigning some codes to certain autoshapes. I have a few hundred autoshapes to assign this code to. Whats the best way to determine the name of the autoshape?
View 3 RepliesI'm trying to calculate the area of a Freeform shape.
Is this already stored somewhere e.g a shape property?
If not is there a macro available to do this?
I have many autoshapes in my excel file and I want to use the "VBA version of conditional formatting" one two of these autoshapes. I am saying VBA version because conditional formatting does not work on autoshapes (just found that out). The autoshapes on which I want the conditional formatting to work are "AutoShape 73" and "AutoShape 74" (from Autoshapes > Stars & Banners > Explosion1).
This is how I want the conditional formatting to work:
If the text in the autoshape is "A", fill the autoshape with RED color and bold + white arial 12 font
If the text in the autoshape is "B", fill the autoshape with BLUE color and white arial 12 font
If the text in the autoshape is "C", fill the autoshape with GREEN color and bold + black arial 12 font
how VLOOKUP can be used to look up cells with auto shapes or drawing objects with a number next to it. I keep getting the value in return but the auto shape/drawing object is omitted from the answer. I use Office 2013.
View 8 Replies View RelatedIm trying to create shapes Rectangles and Squares with different colours within an excel sheet, where the length and height of the shapes is generated by input values.
Also is it possible to create 3D shapes, again where the size of the shap is generated by input cell values.
i am trying to use a combo box to change the properties of a text box. i think i can do this by having it look at the cell link that i sent and then changing the text box appropriately with something like this:
View 3 Replies View RelatedI have text boxes in excel that hold text (obviously) over a period of several days. It gets updated daily, so I want to change the font color for the new text that is added daily rather than all the text. Is there a way to do this?
Also, is there a way to get the verticl scorll bar to always show on the right hand side of the text box? The way it is now, I have to click once or twice in the text box before it shows up. I would like the person reading it to automatically know that there is text not presently in view so they know to scroll down for more information.
Ii have a UserForm with a ComboBox in it. the selections in the box are
0
5
10
15
20
25
30
I have 7 shapes in Worksheets("Interface") and renamed each shape caution1 through caution7
What i need is when i click on continue in my userform each shape will change according to the selection.
if 5 is selected all caution shapes will read, Caution flag is out 5 minute break
if 10 is selected all caution shapes will read, Caution flag is out 10 minute break
if 15 is selected all caution shapes will read, Caution flag is out 15 minute break
and so on
excel 2007 btw
So I have been playing around with the tab colors on my workbook and am trying to figure out the correlation between color brightness and the auto change from black text to white text. I've noticed that if the Green color value is higher, excel is more likely to use the black text. If Blue is high, white. Green takes precedence over Blue and Red is just kind of in its own world.how excel calculates this?
View 2 Replies View RelatedI am trying to auto-populate text in cells in area A, based on data I enter into other cells in area B. I want the area A cells to be for display only, as all editing will be done in area B. The problem is: how do I do this such that the text I write does not get cut off if is longer than the column width? See the attached document for a clear example and description of what I am trying to do...
Excel Q.xlsx
How to get a spreadsheet to auto colour the text on a row if the number in a certain column was 1 then a different colour if it was 2 and a different colour if it was 3
I have transferred the data to another file and the fill is now all wrong....
How to clear it and reset it....I had a look at conditional formatting..but can't seem to see how it's done...
i have a form that in excel using the Active X Controls thanks from the help on this board the form is working a great and praised by peers for the simplicity and design.
Anyway i would now like to add some code that will auto populate certain text boxes with information held on the PC?
The information is held on the PC so info like Environ$("USERNAME") etc.... what i would like is when the user opens the form these fields are populated with this information..
I have had a go but still cannot get it to work... Here is my attempt
Private Sub staffno_Change()
staffno.Text = Environ$("USERNAME") 'Users Staff ID
End Sub
I have a cell containing a post code (U.K). For example CF678JU however I need it to be formatted to show CF67 8JU. Is there a quick option of setting a formatting rule to add the space instead of me going into each cell and changing... (there's thousands of them!!!)
View 2 Replies View RelatedI am trying to auto fill a column to create a string using the sequence "01-01-XX, 01-02-XX, 01-03-XX" etc.
When i use a formula to increase the number in the middle column it reverts it back to a number format and drops the 0, is there anyway around this?
How to convert number/text to text/number?
example
a=1
b=3
c=5
Let's say
1) column A1 value is "35", any formula/macro can auto convert to "bc" at B1?
2) column A1 value is "ab", any formula/macro can auto convert to "13" at B1?
I have a workbook that has multiple sheets. And on lets say as an example the first and third pages I have text boxes "reason for text boxes is for sizing issues" that are on both pages that are identical and have the same info that needs to be entered into them. What I would like to accomplish is when info is placed in those text boxes on the first sheet their values auto populate onto the third sheet and so and so forth. Being multiple text boxes on multiple sheets, going through all 5 would be daunting and time consuming.
View 6 Replies View RelatedSay I have text in Column A and as soon as I input that data, I want it then copied into another column (J). What kind of formula and I looking at to do this in Column J to repliace column A automatically?
View 7 Replies View Relatedhere is a formula i would like in cell D20 (might not be a formula out there,maybe more code)
if cell C20= "S" then text in Cell D20= "SHOP" (then will be able to type after "SHOP")
if cell C20="F" then text in Cell D20="Field" (then will be able to type after "Field")
I have many facters (15 to be exact) that I would like to do this in the range of D20:D38
This it possible to change an auto-shape text say Rectangle 200 based on what cell is selected. For Example Peps: -If i select cells(3,3) then the text in Rectangle 200 will change to Hello!!!, but if i select cells (3,4) then the text will change to Bye Bye!!! Do you understand me babes
View 7 Replies View RelatedI am trying to have a form that people can fill in and I know it would be far better to use Word for this purpose but it looks so much better in Excel format. The problem is I have merged about 10 cells in a row and copied this format down a few rows.
Now although I have set the 'Text Wrap' option the rows will not auto expand unti to accodate all the text unless I do a ALT-ENTER combo. The problem is anyone using this spreadsheet to complete the form may not know how to use this feature.
Is there anyway Excel can expand automatically or do I need some sort of Macro based in the Worksheet that will automatically adjust the row if the text is too long to fit?
Auto text based on "cycle" and "day"
I need to auto populate cells based on a rule let's say:
Each cycle is 28 days so on day 1, the first cell should say "C1D1", next day "C1D2" and so forth so that on day 28th (cell 28) it should be C1D28.
On day 29, it should say, "C2D1" since it's the beginning of the next cycle on day 1. What formula do I use?
i have excel sheet with name labels.i want count how many times user repated along with his branch code. acctully am done this using this formula, but not getting what am exepected.
Formula in B1 is ="JSK-SW-1"&(countif($A$2:$A2,$A2))
output is value is incremented, but i want text also be change.
A B
Name Count
Sateesh JSK-SW-1
Rajesh Raj- SE-1
Sateesh JSK-SW-2
Rajesh Raj-SE-2
Anil JAK-DE-1
I have a sheet which is list of prizes. Column B represents the type of auction this could go to Column C represents the type of prize and Column D the name of the person responsible. The other 4 sheets is for the live auction, the silent auction, the raffle and goodies prizes
If on sheet 1 the type of auction is SA, I'd like Column B, C and D to be reflected in the Silent auction sheet (List SA)
If on sheet 1 the type of auction is LA, I'd like Column B, C and D to be reflected in the Live auction sheet (List LA) and same for Raffle (R) and Goodies (GB)
How do i auto advance a text box in a user form to the next question. As long as that question was answered otherwise it doesn't advance and displays a msgbox telling them that something must be entered in that box? All done in vba.
View 2 Replies View RelatedI need to create a formula that searches the first table and autofills the second based on the teacher name. So when Mr. M is listed in column e, all the data to the right automatically appears on the second sheet.
View 3 Replies View Relatedsetting up a worksheet that forces a link to another worksheet when text is entered.
For instance, I will have several columns in the first worksheet (Sheet 1). For each entry, a tally ("X") will be added under the applicable columns. Most of the column headings are pretty straightforward. To keep things uncluttered, I want one of the columns to have an auto-link (?) feature so that when the user adds an X in this one column (we'll call it Column D), the user will then be auto-linked to another worksheet (Sheet 2) in the workbook. Sheet 2 will have room for more information regarding Column D, Sheet 1.
Is there a way to auto-populate all of the empty cells with the word "Need to Review" in a cell range (A1:A250)? Once any of the cells in this range is populated, whatever is inputted should house the cell.
View 9 Replies View RelatedI am using a staff schedule spreadsheet and have each column displaying text of where a staff person is assigned.
Instead of displaying the word "lunch" separately across several columns, is it possible to merge several columns and have the word "lunch" automatically stretched evenly across the several merged columns?
I dont want it to be centered but to literally be stretched to fit evenly across all of the merged cells.
I have a number of cells where I've put to wrap text, but the cell size is not adjusting when I type past the size of the cells, how do I get the cells the get bigger automaticly to fit all the text but bigger in height not length?
View 2 Replies View RelatedI have a macro that opens Word pastes data in from Excel,
I want to be able to paste an arrowed line that I have drawn, also if it changes, I want it to reflect that change.
Here's the
Item("Direction1").Range.InsertAfter Worksheets("BSID").Range("Line3").Value
I have my bookmark in Word setup, I'm guessing that instead of a cell ref I need the name of the Line, which is "Line 3" in this case.
I ran a recorded macro and copied and pasted the line and instead of "Range" I got "Shapes" so I assumed that I just needed to change these words but no joy.