Consulting

Results 1 to 8 of 8

Thread: VBA Help please (Novice)

  1. #1

    VBA Help please (Novice)

    Hi Everyone - thanks for taking your time to help.
    I have the exact same issue as this guy :

    " have an Excel file used as a form that has a number of form controls in it (text boxes, combo boxes, etc.). This form worked fine until we upgraded to Office 365.

    Now when users click in certain text boxes, the cursor to enter text becomes so small that the user doesn't think they are in the text box. However, if you type some text and then exit the text box, the text returns to normal size. This makes it impossible to actually edit text.

    If I go into the properties of each text box and cycle the WordWrap property to "False" and the back to "True" the problem resolves itself until I exit the workbook and then open it again. Which text boxes are affected is completely random. There is no consistency that I can see as to which boxes will be a problem when I open the workbook "


    The work around that Darren suggested of adding the following to the textbox gotfocus event :
    textbox1.wordwrap = false
    textbox1.wordwrap = true

    This works for me but the problem i have is that i have around 4000 work sheets
    Is there a way i modify this code to open every worksheet the same or do i really have to modify all 4000 worksheets?

    Thanks for your help
    Jenny

  2. #2
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Post the workbook Jenny, give us something to work with.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  3. #3
    Thanks
    Please see attached - its the grey box on sheet 1 thats the problem.
    Its works fine with excel 2010 but not on the new office 365 excel.
    Thanks for your helpActon Delta (DY).xls

  4. #4
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    I didn't see the mention of Office 365. Unfortunately, I have Office 365 but I haven't installed it yet, so I can't help.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  5. #5
    Moderator VBAX Sage SamT's Avatar
    Joined
    Oct 2006
    Location
    Near Columbia
    Posts
    7,814
    Location
    There doesn't seem to be a good solution to this bug. My impression is that it is primarily a problem with the Cloud version (Office 365) but that it may be related to another Bug that MS is aware of.

    http://www.vbforums.com/showthread.p...perty-settings

    https://answers.microsoft.com/en-us/...d-b03e54d0e10a

    Interesting sub by Andy Pope


    http://stackoverflow.com/questions/1...tbox-font-size

    https://answers.microsoft.com/en-us/...5-0d780d67c76b

    That is all I could find relating to the issue.

    You might just have to manually modify all 4000 workbooks, unless you are willing to go back to the previous version of Office.
    I expect the student to do their homework and find all the errrors I leeve in.


    Please take the time to read the Forum FAQ

  6. #6
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Quote Originally Posted by SamT View Post
    My impression is that it is primarily a problem with the Cloud version (Office 365)
    Office 365 is not a cloud version of Office, it is a subscription service to Office. The application is still on your desktop.
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  7. #7
    Moderator VBAX Sage SamT's Avatar
    Joined
    Oct 2006
    Location
    Near Columbia
    Posts
    7,814
    Location
    Quote Originally Posted by xld View Post
    Office 365 is not a cloud version of Office, it is a subscription service to Office. The application is still on your desktop.
    http://www.office365answers.com/AllA...ffice-365.aspx
    Office 365 is a set of cloud services available on a subscription basis from Microsoft.
    http://office.microsoft.com/en-us/bu...102997580.aspx
    Because Office 365 is powered by the cloud,
    http://office.microsoft.com/en-us/bu...102997619.aspx

    Office 365 gives you the familiarity and power of Office with the flexibility of the cloud. With Office in the cloud, your applications and files are with you wherever you go

    Office in the cloud is more powerful than ever yet simple to use and manage. And it’s always up and running, so you stay on schedule.

    Many Office 365 plans include the latest desktop version of Office, so you can work offline or online. [Emph added]

    Some Office 365 plans work with earlier desktop versions* of Office
    I expect the student to do their homework and find all the errrors I leeve in.


    Please take the time to read the Forum FAQ

  8. #8
    Hi Guys, thanks for all your help, i guess i will have to get going on modifying all the worksheets

    Thanks
    Regards
    Jenny

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •