Excel 2007 :: Controls / Objects As Containers
Mar 12, 2013
I often use the .TAG property on controls as a sort of temporary container to hold variables, arrays and such but this gets messy because I sometimes forget which control I used for what since there appears to be only 1 tag property per control. Are there any controls that have numerous .TAG like properties I could use (even name) to hold my temp data?
Excel 2007 and 2010
View 1 Replies
ADVERTISEMENT
Jul 4, 2012
Excel 2007.
Insert - Object allows me to insert a object (display as icon is used). Is it also possible to insert multiple objects in one go? Via this option I can always only select 1 object.
View 1 Replies
View Related
May 3, 2012
I would like to know if it is possible with VBA in Excel 2007 to select objects based on size (or above a certain size).
I would like to select all the picture objects but not the small checkboxes on my worksheet.
I know that I can select the items one by one with home -> find/select -> select object but how I could make this "find/select" conditional.
View 7 Replies
View Related
Sep 21, 2009
Additional Controls Dialog Box refuses to display
I have a problem trying to add additional controls to the Controls toolbox
The two methods I've tried
1. Right click on the controls toolbox , click Additional controls
2. Menu, Tools, Additional controls
Neither of the above produce a dialog box containing the list of additional controls to choose from.
I am running Excel 2007
View 9 Replies
View Related
Aug 10, 2014
My form controls (cmd buttons) and images don't appear or don't work. I was working on a macro to cut and paste a set of cells (protected sheet, I did unprotect it), and I noticed the cmd button tied to this disappeared. It then re-appeared but I couldn't engage it. This is part of a larger workbook that consists of a single page of cmd buttons that release specific worksheets (no activex). These buttons disappeared and re-appeared and don't work either. When I select the button I can see the cell underneath light up. It's like the image is there but nothing else?
The macros run fine from VBA editor. I was thinking the issue had something to do protections? There are more than 5 passwords (set on a worksheet) being used here, there is a fair amount of protecting and unprotecting going on, and I loop through the worksheets several times. Everything was working fine and now I'm stuck. I was getting a the-object-invoked-has-disconnected-from-its-client error related to an "insert cells" command on a co-workers computer, but not on my machine. This is actually what I was trying to solve when it crapped out. I would delete the buttons and create them all again, but I can't even select them to delete them.
View 5 Replies
View Related
Jul 18, 2013
We are using Windows7 with Excel 2007. We have old code from excel 2003 and earlier that was adding a msoControlPopup with other sub-controls using the code below:
Code:
Set HelpMenu = CommandBars(1).FindControl(Id:=30010)
If HelpMenu Is Nothing Then
' Add the menu to the end
[Code].....
I tried going to Excel Options>Customize>Reset to reset any customizations to the quick access toolbar as this was recommended by something else I found online. This did not fix the problem.
I can find the control in the Immediate window but it just isn't showing in the add-ins tab. if I can find and repair that XML file perhaps?
View 9 Replies
View Related
Feb 6, 2014
I have a workbook with two worksheets, "Main" and "Control".
Both of them are with hidden tabs (unchecked "show sheet tabs").
On worksheet "Main" I have command button which opens worksheet "Control".
The assigned makro is: Sheets("Control").Select
The problem is: when I open "Control" and close after that the workbook, the next time when I open the workbook "Control" pops-up instead of "Main" even though I do not save it.
1. I need macro on "Main" which will allow me to open "Control".
2. Regardless I "Save" or "Don't Save" "Control" when selected and workbook is closed, to open the workbook always displaying worksheet "Main".
I use Excel 2007 (at home) & 2010 (at office).
View 1 Replies
View Related
Aug 14, 2008
I am attempting to create a few control textboxes to be present in my Excel worksheet to use with a VBA macro but for the life of me I cannot figure out how to do this in Office 2007. I can create normal textboxes but cannot figure out how to get textboxes using the design toolbar (I can't get the toolbar either).
View 4 Replies
View Related
Dec 27, 2013
So I'm creating a grid worksheet for engineering calculations and I have a couple questions about the best way to do it. I've been messing with excel for my calcs for about a decade now, and I every once in a while I try and improve them.
First: I will have several input areas that will either be colored text or shaded background (either works for me). I don't want these 'input required' objects to print as color, just black. But I want my logo at the sheet top to print as color. I've only found ways to not print any color. Can I print the logo as color and the 'input required' stuff as black?
Second: When I do calcs by hand, I write them out on 10x10 grid paper. Each 10x10 grid is one inch. In the past I've created this grid out of the cells, which works. I frequently need to change formulas around though, and each time I do this, I end up needing to mess with the grid cells also. Is there a way to create the grid and have it in the background so it doesn't need to be adjusted each time I change formulas? I wan't the grids to print, and also want to see them on the screen, as I sometimes draw simple objects along with the formulas.
View 9 Replies
View Related
Feb 26, 2008
I've created a custom ribbon which contains checkboxes that hide or show columns.
I would like to change the enable state of the checkboxes while the user is interacting with the spreadsheet.
For example:I would like to disable all of the checkboxes if they are not viewing sheet1I would like to disable the second checkbox if the first checkbox is unchecked.
I know how to set these all on initialize. I just have not figured out how to update these controls after it has been opened.
View 4 Replies
View Related
Jan 26, 2014
On loading a VBA rich Excel file into my new Macbook pro, I get the error " Microsoft forms" followed by "Could not load an object because it is not available on this machine".
Hence the sheet I open is missing all of the functionality.
I learn that VBA objects are not well supported on Macs. It works fine on Windows.
View 2 Replies
View Related
Mar 6, 2012
I have 2 excel workbooks - each containing one table.I have 1 Powerpoint Prtesentation with OLE Links to the 2 tables.
All I want is for any update in the excel tables to show in the running PP Presentation. The annoying part is when I set up the linked objects, everything works perfectly and any changes in the excel files update real time in the PP presentation.
As soon as I close the excel file and reopen though, from thereon in I have to update the links manually.
Things I have tried:
A PP Add in called "Update Links" which updated the OLE links on every rotaion of the show. This would be a fine workaround if it didn't stop the slideshow if/whenever someone was updating one of the source files with the "file is already open..." message...So set both source files to shared as PP will only be reading the data anyway. Still the error appears.Inserting some code into PP:
Code:
Sub linkupdate() Dim osld As Slide Dim oshp As Shape For Each osld In ActivePresentation.Slides For Each oshp In osld.Shapes If oshp.Type = msoLinkedOLEObject Then oshp.LinkFormat.Update Next oshp Next osld End Sub
All I want to do is update the links without stopping the slideshow. I have tried numerous PP approaches, but maybe there is an Excel solution that will update links automatically on each save.
View 1 Replies
View Related
Apr 5, 2013
I have a big macro that runs in everyone's PC except mine. Once I debug it, it shows that it stocked at copying the objects from a template sheet to another sheet. When I try doing it manually, I still can not copy the objects to another sheet. It copies the sheet but except the objects in it. Is it related to my settings?
View 6 Replies
View Related
Nov 13, 2012
I'm trying to hide a few columns on my spreadsheet. I'm getting a "cannot shift objects off sheet" error message 2010 Excel program. I never had trouble with my 2003 excel.
There are no comments on this sheet, 'Display options for this workbook' already says all. I do have macro buttons on the top... but changed them all to move and size with cells.
View 1 Replies
View Related
Dec 4, 2012
Is it possible to do a seach in a lot of excel files (>500) to find the excel files wich have an embedded objects inside. If so how can I do this with VBA ?
View 3 Replies
View Related
Jul 21, 2014
When I put form controls onto a spread sheet is there anywhere I can easily see and access its properties? Format Control is lacking many values and I do not see them in the vba project toolbar. I am trying to get checkbox locations and checkbox numbers if possible. If there isn't an easy place to see these is it still possible to get the checkbox locations in VBA?
View 7 Replies
View Related
Apr 4, 2014
I bought a Surface 2 tablet. When I go to "settings" in the Trust Center it does not show any option to enable Active X.
View 3 Replies
View Related
Oct 12, 2011
In VBA (Excel 2003), I'm wanting to get a reference to an ActiveX comboBox that is inside/attached to a cell.
I can iterate thru all the OLEObjects in the OLEObjects collection of the Worksheet and test the .TopLeftCell property to see if it matches my target cell. However, this seems like a long way around the problem - particularly if there's hundreds of comboboxes in the sheet.
Intuitively, I would have thought there would be a Cell.OLEObjects collection, but it appears that there isn't.
Is there a quicker and easier way to get a reference to the OLEObjects within a target cell?
View 2 Replies
View Related
Aug 30, 2007
I know I can populate userform controls within a workbook in the form of a database but I want to know if that is possible to do so from another excel workbook that would be set-up like a database.
This is what I had in mind:
One workbook would contain the userform to select different product specifications with the ability to view previous records (quotes), add new records, and update the previous records. This workbook would be used by multiple users.
Once the form is opened (and connection to other workbook is established), previous records will autofill the controls. If the user wants to enter a new record, all controls will clear. There will be a save button on the form itself to save new records (quotes). make the file read only so no data is actually saved in the shared workbook.
The other workbook will serve as a database and will have a column for each control on the form. This may require 4 to 5 worksheets.
View 9 Replies
View Related
Sep 19, 2012
I have a udf that returns a string to the cell. The string is made up of multiple string "objects". What I am wondering is if I can set the font color of certain objects so that when the final string is built and returned, the font of those portions is set.
Ex. of simple idea (this is not actually my code, just a way to illustrate. I realize there is no point to this UDF):
VB:
Function StringReturn (Str1 As String, Str2 As String, Str3 As String) As String
StringReturn = Str1 & Str2 & Str3
End Function
Now what if I wanted Str1 and Str3 to be blue, and Str2 to be red for example. So that when the UDF calculates it would return: Str1Str2Str3
View 2 Replies
View Related
Jun 14, 2013
I was trying to use this guide to add a date picker in:
[URL]
and noticed that the date picker does not appear in my active x controls list.
I am definitely on Excel 2010 so it should be there right?
View 1 Replies
View Related
May 9, 2014
I need to write a code to create visio flow diagram with excel inputs(Excel 2007). Attached is the requirement.
Requirement_Specification.docx
View 1 Replies
View Related
Nov 7, 2008
I have big Access file .mdb. I need to work with the file in Excel.
The Excel read the file and I tryed to save the file as .xlsx
I receive a message saying only 64k rows will be saved.
How can I translate the file to Excel 2007?
View 1 Replies
View Related
Jan 29, 2009
I use Excel 2007 which is creating a whole load of tmp files of the spreadsheet that I work on.
Is there a way tostop Excel from creating and saving the tmp files?
View 14 Replies
View Related
Oct 11, 2011
I am trying to use Datevalue in Excel 2007
When I put in =datevalue("08/22/2008") I get the error #Value!
If I put in datevalue("2008/08/22") 39682 which is what I was expecting. If I use =datevalue("08/08/22") I also get the right answer, anything else I get #VALUE!
I didn't think that Datevalue mattered with how the date was in?
Do I have a setting wrong of something that could be causing the error?
View 1 Replies
View Related
Feb 14, 2012
I am failing on the logic and syntax to achieve the following. Basically it has to take the sum of 1, or 2 fields and validate it against the value of a 3rd field. I can get it to work for 1 field if DefPercent = 100 but not when looking at the total of 2 fields if DefPercent < 100.
Fields:
- DefPercent (if = 100 LiabilityAmt2.Enable = False) (this works fine already)
- TotalLiability
- LiabilityAmt1
- LiabilityAmt2
Output Required: logic only
If DefPercent = 100 And TotalLiability LiabilityAmt1 Then
MsgBox "error....."
Exit Sub
Else continue
If DefPercent < 100 And TotalLiability LiabilityAmt1 + LiabilityAmt2 Then
MsgBox "error...."
Exit Sub
Else continue
View 9 Replies
View Related
Oct 11, 2012
I am facing issue in Data Validation,
Currently i am using Excel 2007, in that i need to add a validation of Yes and No.
After entering the Validation in the drop down if any one copy any data and paste in the cell(Validtion) the validation vanishes.
View 3 Replies
View Related
Oct 23, 2013
I am working with excel 2007 in windows 7. I am working with small animals that have been outfitted with a RFID (radio-frequency ID) tags with unique UID codes. In a sheet called Tag_info I have a list of the unique UID's of the tags that are in use along with a number of parameters (the colony in which the animal with this tag is situated, if it was treated with something, its age etc). I left out most of the parameters because they aren't relevant to my question, but it looks like this with each UID only once in the list:
A
B
C
1
UID
Colony
Treatment
[Code] ........
In a 2nd sheet, a ton of data is saved by the scanners that read the tags as the animals pass by scanners in a number of locations. The relevant data for my problem is basicly the timestamp (UTCTime_Rounded). Since animals pass by the same scanners multiple times, and scanners may read the same 'passing' as multiple signals the column with UID's here contains tons of duplicates (unlike in the Tag_info sheet where every UID is only displayed once). Once again, I left out the irrelevant data for simplification so that the data looks like this:
A
B
C
D
1
UID
Address
UTCTime_Rounded
Age at read
[Code] ........
So finally, what am I looking for? I want a formula to look up the UID's from the Tag_info sheet to find and return the first and the last timestamp (UTCTime_Rounded) for that UID in the RFID_Scan_values sheet.
So that formula basicly has to return the min and max values for UTCTime_Rounded, for each of the UID's in Tag_info. The output would look like this (I did it manually for this dummy dataset since I didn't get any formula to work yet):
A
B
C
D
1
UID
Colony
Treatment
First scanned
[Code] ........
Tag info And then a similar column for the Last scanned, max values.
View 9 Replies
View Related
Jan 22, 2008
I have just started using Excel 2007 after many years with 2003 and I must say that the new one is totally amazing except for one thing and Im sure there is an easy answer to this although the HELP was NO HELP
One the sheet I am working on I hide the sheet tabs through 2003 and now I see there is no options to unhide them. How do I do this.
View 6 Replies
View Related
Jul 15, 2008
I want to use VBA to update a drawing object's color, such as a circle.
For example, pretend I am counting sheep and I need to know when I have reached the maximum count by the visual aide of a stoplight. The script in my head reads: If the max. count of the sheep is less than 5, then the stoplight is green. If the max. count of the sheep is equal to 5, then the stoplight is yellow. If the max. count of the sheep is greater than 5, then the stoplight is red.
Is there a way to do such a thing on excel and with VBA?
View 9 Replies
View Related