Search:

Type: Posts; User: Mitch_s_s

Page 1 of 6 1 2 3 4

Search: Search took 0.74 seconds.

  1. MsOf07 Re: Excel: Checkbox - Application-defined or obkect-defined error

    Just checked, one of them is called Check Box 9

    so it must be a forms control...?
  2. MsOf07 Re: Excel: Checkbox - Application-defined or obkect-defined error

    Same message when I try that code

    I can't remember whether I chose activeX or Form controls, but I am prompted to load ActiveX controls when I load the message...
  3. MsOf07 Re: Excel: Checkbox - Application-defined or obkect-defined error

    Thanks for your reply, I've used your code to loop through the objects on my front sheet

    When it gets to a drop down or checkbox it fails saying

    Object does not support this property or method...
  4. MsOf07 Re: Excel: Checkbox - Application-defined or obkect-defined error

    Also,

    front is a worksheet within the workbook

    I have tried looping through the shapes too, but it does not appear to acknowledge the existence of the checkboxes...
  5. MsOf07 Re: Excel: Checkbox - Application-defined or obkect-defined error

    Thanks for your reply westconn1

    This works on my personal PC with Office 2010, but not my work PC with Office 2010 and 2007.

    I am looping through the checkbox collection, so I shouldn’t have to...
  6. MsOf07 Excel: Checkbox - Application-defined or obkect-defined error

    Hi,

    I have the created the following procedure in Excel 2010, which should loop through each of the checkboxes on a given sheet and will expand of collapse depending on each checkbox's value

    I...
  7. Re: Automating Conditional Formatting

    Sorted it

    Let me know what you think



    Sub condf()
    Dim selcell As Range
    Dim cell As Range
  8. Re: Automating Conditional Formatting

    You're right :p

    Thats why I'm looking to automate it

    I have two sheets identical in structure, one is Quarter 2 and the other Quarter 3

    I want to compare quarter 3 with Q2 to see of there is...
  9. Re: Automating Conditional Formatting

    sorry mate yeah office 2007
  10. Re: Automating Conditional Formatting

    when you go in to conditional formatting

    then format based on cell value (top option)

    within there you can set traffic lights for red amber green

    I'm looking to automate this process, but...
  11. [RESOLVED] Automating Conditional Formatting

    hi,

    I've searched as mush as possible (google etc), but maybe my search terms aren't accurate enough

    anyway I have 400+ cells that I am looking to apply conditional formatting to
    ...
  12. Replies
    5
    Views
    365

    Re: SQL "JOIN" (I think)

    Top man!

    Still just learning SQL, was confusing myself with all kinds of joins etc

    Thanks again!!
  13. Replies
    5
    Views
    365

    Re: SQL "JOIN" (I think)

    cheers Pradeep,

    If I wanted to multiply x by a value from table b as well, that would work too yeah?
  14. Replies
    5
    Views
    365

    [RESOLVED] SQL "JOIN" (I think)

    I have two tables (simplified below)

    Table A
    x desc
    -----
    1 xxx
    2 xxx
    3 xxx

    Table B
  15. Replies
    6
    Views
    1,408

    Re: Excel - Querytable - SQL

    My bad!

    It says "SQL Syntax Error"

    But I can't see what the problem could be! :(

    new to this side of things!!
  16. Replies
    6
    Views
    1,408

    Re: Excel - Querytable - SQL

    This is the string I've got when my code runs

    can see you what the error is?

    It's connects to an access database, my SQL isn't too hot!

    Is there any where I could learn more advanced stuff...
  17. Replies
    6
    Views
    1,408

    Re: Excel - Querytable - SQL

    Spot on Si!

    Not in work till Thursday now, so I'll check it out then and will let you know!

    Thanks!

    Mitch
  18. Replies
    6
    Views
    848

    Re: Excel Update Problem

    You have probably done this but,

    rather than use the Calc Now option (F9)

    Have you tried the Calc Sheet option in the Calculation tab in options?
  19. Replies
    6
    Views
    1,408

    Excel - Querytable - SQL

    Hi,

    I am attempting to create a querytable, as soon as a workbook is opened.

    I have had a bit of a nightmare with the Syntax for the SQL.

    I am attempted to pull all records from a table,...
  20. Re: Music Player Addin For Excel 2003 - Suggestions-Bugs-Etc...

    nope that didn't even register ha!

    ah well, ignore me
  21. Re: Music Player Addin For Excel 2003 - Suggestions-Bugs-Etc...

    Sid, I like it!

    Using office 2007, i open my mp3

    click the mute button and I receive

    Object variable or With block variable not set

    i'm guessing because the tool bars aren't created in...
  22. Re: [Excel VBA] backup all files in a folder

    FileCopy "C:\temp\Test1.xls", "C:\temp\backup\Test1_20090113.xls"

    that's the basics of it, you can work the file names to allow you manipulate the strings instead of hardcoding them in to your...
  23. Replies
    28
    Views
    2,814

    Re: Problem on Entering Values on a shared File

    whoops didnt read the last couple of posts haha!
  24. Replies
    28
    Views
    2,814

    Re: Problem on Entering Values on a shared File

    I know this is an old post but...
    what I have done in the past is:

    Create a workbook, which contains your data (Don't have this as a shared workbook)

    Have another workbook, where the user...
  25. Re: [Excel 2003] Outputting text to Notepad on the fly ...?

    You've probably thought of this but...

    Could you use Thisworkbook.path?

    and do you need to use notepad?
    Word can create .txt files, so if the user has excel installed surely they will have...
  26. Re: [Excel 2003] Outputting text to Notepad on the fly ...?

    The only lines you'll need are

    Open myfilepath & ".txt" For Output As #1
    Print #1, mytext
    Close #1
  27. Re: [Excel 2003] Outputting text to Notepad on the fly ...?

    I use the attached code here to create a .txt file(which i then change to a batch file), and update it with certain items

    You could modify this to suit your needs

    Open...
  28. Re: Macro for selecting constants

    Couldn't you use the Go To Special option in excel?(select your range and press F5, then click Special...)

    the example below selected numbers and text in the selected range.
    ...
  29. Re: Launch Form on "Visual Basic Editor" click Excel

    They'd still get round it, as they would just disable macros when opening the file
  30. Replies
    8
    Views
    608

    Re: [RESOLVED] Excel Match

    I tend to use an Index Match combination, will give you the same results as above
    But thought it worth posting anyway

    =INDEX(Sheet2!$D:$L,MATCH($A1,Sheet2!$A:$A,0),2)

    0 in this formula again...
  31. Replies
    13
    Views
    887

    Re: Programmatically Update Module

    cheers mate, made the amendments as per your post

    excel is falling over at wb.save, only after find and replace has been done

    My security settings are ok, as I have allowed for programmatic...
  32. Replies
    13
    Views
    887

    Re: Programmatically Update Module

    still not working :(

    modified code is below

    Sub open_workbooks()
    Dim cell As Range

    For Each cell In Range("A2", Range("A2").End(xlDown))
    Application.EnableEvents = False
    ...
  33. Replies
    25
    Views
    1,158

    Re: Pasting Range into different sheet

    i didn't read the full topic sorry, just posted the code to loop through all sheets
  34. Replies
    13
    Views
    887

    Re: Programmatically Update Module

    yeah all my file names are in column A

    I can't see where the error occurs, as when i step through the code it works fine

    it's when i set it off running on its own, its causes excel to crash
  35. Replies
    25
    Views
    1,158

    Re: Pasting Range into different sheet

    Sub sheet_loop()
    Dim i As Integer

    For i = 1 To Sheets.Count
    Call CopyDupRows
    Next i

    End Sub
  36. Replies
    13
    Views
    887

    Re: Programmatically Update Module

    Excel keeps encountering an error when i set it off on its own

    if i step through the code it works fine

    any ideas?

    Sub open_workbooks()
    Dim cell As Range

    For Each cell In Range("A2",...
  37. Replies
    13
    Views
    887

    Re: Programmatically Update Module

    wont let me leave you rep, says i need to spread it about a bit before giving it to you again ha!
  38. Replies
    13
    Views
    887

    Re: Programmatically Update Module

    Spot on mate, that works a treat

    bit gutted the intellisense (sp) doesn't work on the find/replace/deletelines and insertlines functions you posted :(

    will search for them now though

    just to...
  39. Replies
    13
    Views
    887

    Programmatically Update Module

    Hi,

    I am looking for a way to update the same module in over 100 files.

    All i need to do is update a variable value from 24 to 8.

    I know you are able to update lines of code in modules, but...
  40. Replies
    12
    Views
    18,256

    Re: .dat to .xls converter

    just found this

    here

    Get Quick Access to File Properties by Using the VBA File Functions
    You can quickly obtain file properties such as the created date, the last modified date, or the number...
Results 1 to 40 of 236
Page 1 of 6 1 2 3 4



Click Here to Expand Forum to Full Width