caption

  1. kelly mort

    How to send the caption of a checkbox or option button to a database

    Hello I need help how to send the caption of checkbox or option button to a database in Excel. These controls are sitting on a userform. Thanks
  2. F

    VBA - Import Macro: Retain Existing File Formatting

    Hi Everyone! I have an import macro that I would like some help with, please. I would like to retain the formatting of the cell(s) and text(s) from my old workbook into the new workbook I am importing into. Is there a way to do this? The code I am working with is: Sub Import() ' Turn...
  3. P

    Multi page on user forms

    Afternoon all, Is it possible to change the back ground colour on the multipages ? no default option appears ? also The caption you add to the pages, can that caption be formatted, as I wanted it to appear font size 12 and in bold ? Thanks Pauljj
  4. A

    vba delete current tables, paste and link new tables in word based on caption

    Hello, I have a large word document which contains tables and "captions" associated with those tables. The tables are updated annually, so i need to link them and excel document which i can update annually or if a mistake is found etc. What i am currently thinking, since each of my tables has...
  5. D

    Checkbox Caption

    I'm fairly new to VBA and have created a checkbox userform and want the caption for each checkbox to be the text in a cell in the worksheet. I keep seeing this line of code and copied it directly into the Userform_Click routine and it won't work. Any help with what I'm doing worng? Private Sub...
  6. kelly mort

    User Defined Caption On Dialogue Box

    Hello All, I wanna know if it's possible to asign a caption to my message box other than the yes and no or the ok and cancel stuffs. If this is possible then somebody show me how to do it. Thanks Kelly Sub PrintMaster() Dim answer As Long answer = MsgBox("Are you sure about...
  7. T

    Returning the caption more than one active control within a frame

    Hello... Can someone please help. I have a frame within a user form that contains 6 checkboxes. The user may select more than one checkbox. I am trying to send the caption of the selected checkbox(es) to the body of an email. I wrote the code below but it returned the same one twice (see the...
  8. C

    Best method for changing control properties at design time

    Hi I have set up 20+ user forms with approximately 50 controls in each one. When designing the forms, it seemed inefficient to give a unique meaningful name to each and every control, so they are currently named randomnly, i.e CheckBox1 could be beside CheckBox101 but still related to the...
  9. C

    How to bold the caption of multipage excel vba

    Hello, I have a userform with a multipage control on it. This Multipage has two pages (Page1 & Page2). How to bold the caption of Page1 when Page1 is activated, and formatting regular the caption of Page2 since Page1 is actived? Thank you
  10. E

    Adding NON-English to caption to command button

    I would like to add other language (non-English like Chinese/Japanese) to the caption of Command button and they show up as ?? (no of ? corresponds to number of original character). The working around is using VBA to refer a cell address which contains the non-English characters/words and it...
  11. S

    [VBA] Unable to display symbols ▼ , ▲ in commandbutton caption

    Symbols ▼ , ▲ are normally displayed in my previous Excel 2010. However, when I update to Excel 2013, the captions on the command buttons simply display chaotic characters. Is it possible to have it displayed properly in Excel 2013? I am using ActiveX command buttons. The "Property Window"...
  12. A

    Persian font of numbers in optionbutton caption

    Dear MrExcel, I have a questionnaire which includes some descriptive data like age range(for example less than 30 years) of respondents which I place them(I mean less than 30 years in persian) in Caption properties of option buttons.I need the numbers in "caption" to appear in persian. I...
  13. T

    Excel Checkbox -VBA caption reference

    Private Sub CheckBox40_Click() Sheets("CheckBox40.Caption").Visible = CheckBox40.Value End Sub I am using a macro to name the sheets the same as the captions, so they will have the same name. I just want it to make the sheet it shares a name with visible, but this errors out on me. I'm...
  14. F

    Dynamically building Pivot Table with VBA

    Hi I am currently building an Excel VBA reporting project . One requirement is for there to be a Pivot Table, which can be built dynamically/change it's fields depending on the source data. It's all going well so far, but I have a problem as follows: My Pivot table variables are as follows...
  15. I

    string variable as object name problem

    Hi Am i missing something The label names are comp1label, comp2label, etc The msgbox gives the correct name but applying the caption does not? thanks for you help Private Sub refreshbutton1_Click() Dim i As Integer Dim qL As String For i = 1 To 9 qL = "comp" & (i) & "label" MsgBox qL With...
  16. J

    Captions in Pivot Tables (VBA)

    So I'm new to coding and I was just wondering... Basically, I''ve created a code (for pivot tables) that auto refreshes and inputs the new field into the Values table relative to a cell that has a value (201428). ActiveSheet.PivotTables("PivotTable1").AddDataField ActiveSheet.PivotTables( _...
  17. J

    remove captions excel 2010 64 bit

    I use the following script on my home computer to remove captions, however I can not use it on my work computer which is excel 2010 64bit. I found info on changing the script to prtsafe so I made all the adjustments but it still would not work, it kept getting stuck on the hwnd section even with...
  18. orangefury90

    VBA Userform Question - Commandbuttons

    I think my previous post was too long and confusing... I can not seem get the below code in red to work. I am trying to change commandbuttons (R1C1, R1C2, R1C3, R1C4 etc) to change their captions to text that is already saved into an array without making a hundreds of lines of code. Dim...
  19. S

    Update label caption in for next-loop

    I have a UserForm with a label and a for next-loop and a command button. How can I update the label caption in my for next-loop? When I try updating with lblPercentage = i & "%" it does not update until the for next-loop is ended.
  20. M

    Captions for Files

    Elsewhere I have created captions for files I load. Normally I would use the command Windows("myfile").activate but the captioned name is what I need to do: CurrentWorkBook = ActiveWindow.Caption Windows(CurrentWorkBook).Activate But I don't know how to navigate to the current book without...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top