Problem with Excel user form when trying to hide the excel workbook

My excel application has a userform which contains combo box and list box
I am using the below code to make my excel file invisible when its open (i.e it directly shows the userform)
Workbooks("Budget.xlsm").Windows(1).Visible = False
for my excel file....But the problem now is that
My values for combo box are in the Budget.xlsm file and since the
Workbooks("Budget.xlsm").Windows(1).Visible = False
is now invisible ...the combo box have no values in it.... Also I have some List boxes in my userforms which are linked to some range in the excel file even they are blank
The values selected in the userform are also send back to the same excel file (Budget.xlsm)
Could you please help me with this
Regards, Hitesh

Hi Hitesh,
How do you specify combo box items value? Do you mean the items of combo box will be cleared when the workbook hidden?
Base on my test, the combo box’s items won’t be clear when the workbook hidden.
Simple code:
Private Sub CommandButton1_Click()
Workbooks("MyExcel3.xlsm").Windows(1).Visible = False
End Sub
Private Sub CommandButton2_Click()
Workbooks("MyExcel3.xlsm").Windows(1).Visible = True
End Sub
Private Sub CommandButton3_Click()
ComboBox1.List = Worksheets("Sheet3").Range("D1:D4").Value
End Sub
Please provide the detail information of your issue.
Regards
Starain
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • I have a problem with two PDF's when trying to open them through a link on a web page. The two PDF's open fine with Adobe on my own PC and on the server I have copied it to but when they are opened through a link on a web page (pointing to the server wher

    I have a problem with two PDF's when trying to open them through a link on a web page. The two PDF's open fine with Adobe on my own PC and on the server I have copied it to but when they are opened through a link on a web page (pointing to the server where the PDFs open fine) I get an error 'There was an error processing a page. Invalid function resource' The other one just doesn't open at all. Can anyone help with this please?

    Hello,
    Are the pdf linked correctly in the website? Is this a public website? If yes, please post the link here.
    ~Deepak

  • I have Windows 7 and just recently experienced a problem with itunes freezing up when I clicked on the "apps" tab.  Everything else seems to work okay in itunes.  I have uninstalled it and reloaded it 4 or 5 times, but still freezes up.

    I have Windows 7 and just recently experienced a problem with itunes freezing up when I clicked on the "apps" tab which shows the apps that are loaded on my phone.  Everything else in the itunes software seems to be working okay.  The problem is in the part where you sync the newly purchased apps.  The apps will all be blank that are downloaded and that part of the software crashes itunes or freezes up.  I can get out of itunes okay after the freeze up, but it just stops me from syncing anything that I have newly added.  If anyone has had this problem before or knows someone that has, please let me know how I can fix it.  I have uninstalled and reloaded itunes 4 or 5 times, but the problem is still there.  I might add that I have been using itunes and purchasing apps for 2 to 3 years without any problems.  HELP.

    You would get better response from the iTunes community forum.
    Have a nice day!

  • I have encountered a problem in Premier Elements 13 when trying to open the downloaded bundle.

    I have a problem with Premier Elements 13. I am unable to open the downloaded bundle that I have just purchased. I am useing Windows 7 with a Chrome browser. After the download is completed, the files are ready, The box is ticked to launch Adobe Premier Elements 13. When the finish buttom is ticked I get a message saying that `We`ve encountered the following issues. Installer failed to initalize, please download Adobe support advisor to detect promlem. It appears that the support advisor has been discontinued. Can anybody offer any further advice.
    Many thanks
    John W  

    Without exact system info we can't tell you much, but as a start make sure you are actually running with administrative privileges and stuff isn't blocked by security tools.
    Mylenium

  • Problem with Page header width when column is hidded

    Hi All,
    am using SSRS-2008 R2 version.
    i had an issue width Page header width when am hiding column. Please find the below screen shoot for reference.
    Here , there is an audit parameter which contains a and b values respectively.
    If Audit= a then i need to hide the State and City column . So, for that i have written following expression[ =Parameters!Audit.Label="a" ] and its working fine.
    But, if see the screen shoot when columns are hiding then some space is coming in that column which is deviating from Page header width.
    Is there any option to increase the remaining column width when these 2 columns are hidden or is there any way to reduce the page header width according to report columns width. Can you please guide me any one.
    Thanks in advance.
    bala krishna

    Hi bala,
    According to your description, you have a report with a textbox in its page header. You have set some column visibility in tablix based on the parameter selection. Your problem is, when you hide columns, the textbox remains top right in the page header.
    Now you want to make it aligned with the tablix. Right?
    In Reporting Service, we can’t reduce the page header width or increase those remaining columns width based on the parameter selection (or columns visibility). And we can’t keep the tablix always top right because we only have top and left to determine the
    location of a tablix/textbox. For your requirement, it doesn’t have a complete solution to achieve either of your two options. However, we find a workaround for you. In this scenario, we can use two textboxes in page header. Put one in top right. Put the other
    textbox at an appropriate position when columns are hidden. Then put conditional expression into textbox for text displaying based on parameter selection.
    Ps: We don’t set the visibility of textbox because the space of textbox will be removed if it’s hidden, that may make one textbox float moving when the other is hidden.
    We have tested this case with sample data in our local environment. Here are steps and screenshots for you reference:
    1. In our sample report, we set Amt1 column hidden when selecting “a” in parameter. Put expression into textbox.
    A: =IIF(Parameters!ReportParameter1.Value="a","header info","")
    B: =IIF(Parameters!ReportParameter1.Value="b","header info","")
    2. Save and preview. It looks like below:
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou
      

  • Problem with fonts in forms when deployed on web

    Hi everybody out there! Please help me out. My problem is:
    I have used developer server to deploy forms on web, but when a
    form is shown on web, it takes some default settings for fonts
    and colors instead of retaining the original colors and fonts
    that i chose during creating forms. I want that forms retain
    their original colors and fonts when deployed on web. How would
    i do that ?? Someone told me to check the Registry.dat file but
    i do not how to change the settings in registry.dat file. So
    help me out and tell me how would i change color and font
    settings for forms being shown on web by web app. server.
    Thanking you in anticipation,
    Cheema
    null

    Hello Neeraj!
    The problem is no resolved:) In the Visual Attribute Group I changed the Font Weight to Bold in the Property Palette.
    Thanks a lot for showing interest for my problem.
    Regards
    Roar

  • Hi,I'm having problems with Lightroom CC,as when I go to the Develop section on Lightroom it keeps coming up that this section is disabled and that I need to renew my membership.Can you please advise what the problem is as I have the student subscription

    Hello,
    I'm having problems on the Lightroom CC App,as it seem's that when I open the Develop heading at the top of the screen,there is message that comes,which says this section is disabled and I need to renew my membership.My membership is up to date regarding payments etc.I use the student/ teacher version of the CC as I'm a student.Can anybody please advise what the problems seem's to be and what can i do to access the develop and other facilities on Lightroom?
    Many Thank's
    J:)
    Ps Is this a common problem on the Student/teaching version of CC?

    This is an indication that Lightroom is not connected to your subscription. Verify that your are logged into the Creative Cloud desktop app, or try logging out and back in again to refresh your subscription information: Sign out, Sign in | Creative Cloud Desktop app.
    Also, verify that your student subscription is still current and active.

  • Problems in Master-Detail forms when the detail contains LOVs

    I am having problems with master detail forms when the detail contains and lov.
    In my detail form I have a messageLovInput field that returns 2 values (code and description). When the lov window returns both values the messageLovInput disappear from the form.
    This problem happens only when I iterate in the master view and I try to add a record in the detail form.
    If I add a new record without navigation for the master view there is no problem.

    Jode,
    which technology are you using, ADF JClient ? If yes, please provide a step by step description of how to setup a testcase to reproduce the problem.
    Frank

  • I was having problems connecting to my internet at home with my 4s.  I tried many of the suggestions.  Nothing worked.  I did not want to sit on the phone with apple etc trying to fix it.  I bought a router extender.  It worked like a charm.

    I just want to let those of you who have problems connecting to home internet.  I had same problem with my 4s iphone and tried many of the suggestions here as well as on the internet.  Then I found something called an internet extender. Bought it and worked like a charm.  It was worth the $60 I paid.  No more hours of trying to figure it out.  I don't know if this will work for anyone else with this problem but if it helps you I'm happy

    I would recommend that you do the following as a minimum:
    Power-down the modem, AirPort Express base station, and computer(s).
    Power-up the modem; wait at least 10-15 minutes to allow it adequate time to initialize.
    Power-up the Express; wait at least 5-10 minutes. Note: The AirPort's status light may continue to flash amber after it has initialized. That is because, there may be some additional configuration items necessary, like setting up wireless security, before the overall setup is completed to get a green status.
    Power-up your computer(s).
    In this basic configuration, the Express will broadcast an unsecured wireless network with a Network Name (SSID) of Apple Network NNNNNN. Network clients, connected to the base station either by wire or wireless, should now be able to access the Internet through the ISP's modem. Once Internet connectivity has been verified, you can use the AirPort Utility to configure the base station for wireless security and any other desired options.
    If the above steps do not solve the problem, start over with step 1 above, but then perform the next steps between steps 1 & 2. above.
    Disconnect the Express from the Internet broadband modem.
    While all of the devices are powered-down, perform a "factory default" reset on the Express. This will get it back to its "out-of-the-box" configuration and make setting it up much easier, especially if you use the "Assist me" process within the AirPort Utility. (ref: Resetting an AirPort Base Station or Time Capsule)
    After the base station resets, go ahead and power it back down.
    Reconnect the Express to the Internet broadband modem. For the 2nd generation Express, be sure to connect the cable to the base station's WAN (circle-of-dots) port.
    Continue with step 2 in the first set of steps.

  • When I turn my computer on I receive a message that Apple wants to make a change to the hardware. I click on yes but nothing happens. I think this has something to do with Apple "push". I had a problem with this in iTunes when I tried to sync my iPod Touc

    When I turn my computer on (Windows 7) I receive a message that Apple wants to make a change to the hardware. I click on yes but nothing happens. The change has something to do with Apple "push". I recently had a problem with"push" on iTunes when I tried to sync my iPod Touch. I have latest software for iTunes and iPod. Can anyone tell me what to do to get this change to install?

    ptford wrote:
    When I turn my computer on (Windows 7) I receive a message that Apple wants to make a change to the hardware
    Since hardware cannot be changed with software, perhaps you would be so kind as to post the exact wording of the message?

  • I have a problem with Adobe Creative Cluod. Basically after installing the application when I open it I do not charge adobe products but remains all white screen. I tried to uninstall it and install it several times but it does not work.  What should I do

    I have a problem with Adobe Creative Cluod. Basically after installing the application when I open it I do not charge adobe products but remains all white screen. I tried to uninstall it and install it several times but it does not work.
    What should I do?

    Hi Anto2211,
    Please follow the thread: Black screen CC where this issue is already discussed and resolved.
    Let me know for any further query.
    Thanks,
    Ratandeep Arora

  • Ive got this problem with itouch 4th gen when im trying to upgrade my ios to ios 6.1.3 when it is verifying it suddenly shutdown and it keeos on blinking with the logo and i cannot open it...what is the main cause of thst..tnx

    ive got this problem with itouch 4th gen when im trying to upgrade my ios to ios 6.1.3 when it is verifying it suddenly shutdown and it keeos on blinking with the logo and i cannot open it...what is the main cause of thst..tnx

    - Reboot the computer
    - Try DFU mode and then restore/update
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - Delete the update file so that new one has to be download.
    IPSW file location for Mac and Windows
    - Try on another computer to help determine if you have an iPod or computer problem.

  • I'm having problem with my iphone4S first when i updated software to 7.1 after a month or so wifi turned grayed, second when i tried to turn off in the night as soon as i turn it on battery empty now its totaly dead. What should i do with it?

    I'm having problem with my iphone4S first when i updated software to 7.1 after a month or so wifi turned grayed, second when i tried to turn off in the night as soon as i turn it on battery empty now its totaly dead. What should i do with it?

    1) This is because of software version 1.1. See this
    thread for some options as to how to go back to 1.0,
    which will correct the problem...
    http://discussions.apple.com/thread.jspa?threadID=3754
    59&tstart=0
    2) This tends to happen after videos. Give the iPod a
    minute or two to readjust. It should now be more
    accurate.
    3) This?
    iPod shows a folder icon with exclamation
    point
    4) Restore the iPod
    5) Try these...
    iPod Only Shows An Apple Logo and Will Not Start
    Up
    iPod Only Shows An Apple Logo
    I think 3,4, and 5 are related. Try the options I
    posted for each one.
    btabz
    I just noticed that one of the restore methods you posted was to put it into Disk Mode First rather than just use the resstore straight off, I Have tried that and seems to have solved the problem, If it has thank you. previously I have only tried just restoring it skipping this extra step. Hope my iPod stays healthy, if it doesnt its a warrenty job me thinks any way thanks again

  • LabView hangs when trying to load the same VI with a different user logged onto Win2k

    When 'User A' is logged onto Win2k, a particular VI loads and runs fine. When 'User B' logs onto the same Win2k box, LabView hangs when trying to load the VI.
    I'm also not seeing the setup channels in the Data Neighborhood in MAX when logged on as 'User B'. I tried loading the configuration when logged on as 'User B' that I think is being used for 'User A', but nothing happens.
    Where are the configuration files (of whatever type) that tell LabView which user is logged on?
    Thank you!

    There are no configuration files that tells LabVIEW what users are logged on. It is Win2K permissions settings that allow different users access to different folders and applications. Try changing the permissions for the LabVIEW folder and see if that doesn't fix your problem.

  • When trying to download it pops up with a window saying with current user i may not be able to do everything and is asking for administrater password or continue with current user? when i click current user it does nothing and i dont know the password

    when trying to download it pops up with a window saying with current user i may not be able to do everything and is asking for administrater password or continue with current user? when i click current user it does nothing and i dont know the password
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0)

    Not from your end. Click here and ask the iTunes Store staff for assistance.
    (126716)

Maybe you are looking for

  • Firefox crashes on my desktop, how can I get on my internet??

    I have tried safe mode and everything else. Can't do much without interenet access. Can I delete firefox and get on my computer??

  • Is this a bug in Numbers?

    Hi, I have recently finished my spreadsheet for personal finance tracking, and have just encountered what may be a bug in numbers. I have a few sheets in which i collect the relevant data to be used by the appropriate functions. This is what I have n

  • Singleton - Constructor needs a parameter :(

    Hello, i have a Problem with the Singleton Pattern. Following situation: I have a class (Commander) which starts all the dialogs of my Swing Application. For this it starts first the BPs and they start the dialogs. The BPs need my mainprocess class i

  • Opportunity Pricing - BADI

    Hi,    Is there a BADI implementation available to over-ride the Pricing in the Opportunity Document.    We are maintaining Prospects without Sales Area Views. Because of this we do not get IPC pricing in the Opportunity transaction. We had created a

  • Function with return type boolean

    I have created a function with return type boolean as: CREATE OR REPLACE FUNCTION fn RETURN BOOLEAN AS exp EXCEPTION; BEGIN return TRUE; EXCEPTION when OTHERS then RAISE exp; END; FUNCTION fn compiledThen I was trying to call this function into dbms_